News for hackers. Stuff that matters.
Re:DJI Virtual Flight (iOS) has been broken for five months by bri3d on Saturday September 09, 2023 @11:26AM (#37446474)
Most hardware companies operate this way: their devices are on fixed release schedules, and once they're done, they're "done." Virtual Flight was part of the release cycle for some drone or another (I think the FPV potato, if I recall correctly?) and now that it's done, there's nobody allocated to or tasked with fixing it.

So, software is treated the same way. Engineers copy and paste whatever stuck-together yarn ball of code off Gitee they need to produce an artifact which passes QA, then ship it.

The problem comes in when there's software that needs to live for a long time in the real world - Virtual Flight, for example, was broken by some Apple update or another, and their Fly app has to support a broad range of drones so it creaks under the weight of everything being pasted together.

IMO, almost all "hardware" companies trying to make software are the same way. From industrial controls to mobile phone vendors. If anything, DJI have gotten better in recent years about after-sales updates, fixes, and support than they used to be.

Re:DJI Virtual Flight (iOS) has been broken for five months by squirrel6 on Saturday September 09, 2023 @11:29AM (#37446511)
I like this use of “artifact”
Re:DJI Virtual Flight (iOS) has been broken for five months by pacifika on Saturday September 09, 2023 @11:56AM (#37446805)
Ok you’re saying DJI doesn’t understand that modern software is build on top of a moving base whose interface changes over time. It’s called lifecycle support
Re:DJI Virtual Flight (iOS) has been broken for five months by lazide on Saturday September 09, 2023 @12:00PM (#37446856)
I think they’re saying every hardware company is this way, with rare exceptions.
Re:DJI Virtual Flight (iOS) has been broken for five months by clnq on Saturday September 09, 2023 @12:44PM (#37447322)
In profit-oriented management, it makes no sense to waste engineering resources on an old premium priced ("buy once") product that will be bought by more or less the same number of late adopters whether it's maintained or not. It makes much more sense to use these resources for new products. It's not that they don't care about lifecycle support, it's that they care about profit more.

I don't know about fiduciary responsibilities to shareholders managers have in China, but in the US, it might be illegal to support an existing product when more profit can be extracted from building a new one.

Sad state of affairs but it is the current state.

Re:DJI Virtual Flight (iOS) has been broken for five months by Shaanie on Saturday September 09, 2023 @01:19PM (#37447733)
>it might be illegal to support an existing product when more profit can be extracted from building a new one.

Lol no, that's just a reddit opinion. Business judgment rule means businesses have a huge leeway on how to do business, outside of fraud or intentionally trying to cripple the company.

Re:DJI Virtual Flight (iOS) has been broken for five months by bobbob1921 on Saturday September 09, 2023 @01:51PM (#37448114)
Unrelated to drones (but is a hardware/software manufacturer)- I would like to call out Axis (as an Axis network cameras) as one of the rare positive lights in this mess. They clearly state how long their products will be software supported, and they stick to that minimum and frequently go well beyond that minimum.

Axis has products that are over 10 years old that still receive frequent security only firmware updates. If they can do it across hundreds of different hardware products, then these companies can too. (in fact, Axis was doing it well before this became a main stream issue)

Re:DJI Virtual Flight (iOS) has been broken for five months by TeMPOraL on Saturday September 09, 2023 @03:16PM (#37449254)
> If they can do it across hundreds of different hardware products, then these companies can too.

It's pretty clear the issue isn't "we can't", but rather "we can, but why would we want that".

Re:DJI Virtual Flight (iOS) has been broken for five months by howinteresting on Saturday September 09, 2023 @04:32PM (#37449996)
Sounds like the world in which the platform keeps moving and breaking APIs is a pretty bad world!
Re:DJI Virtual Flight (iOS) has been broken for five months by sswr on Saturday September 09, 2023 @12:30PM (#37447180)
Do you think this is related to the fact that they only sell hardware (i.e., no subscription costs for the software)?

Shouldn't they already factor in the cost of app support for the next X years when selling the product?

I assume the same principle applies when you purchase an iPhone. Though in this case, DJI may not see Virtual Flight as core software for their product.

Re:DJI Virtual Flight (iOS) has been broken for five months by bri3d on Saturday September 09, 2023 @12:34PM (#37447215)
Yes, 100%. In places where they get software residuals (agriculture and enterprise, via FlightHub and other services), development is constant because a team stays assigned to it.

I do think that in recent years DJI have gotten way better at budgeting for after-sales support on mainline products. The Mavic 3 series have gotten consistent and meaningful updates for quite some time now. This Virtual Flight app was always kind of a joke and I’m not really surprised it’s abandoned.

Re:DJI Virtual Flight (iOS) has been broken for five months by dronodeath on Saturday September 09, 2023 @12:46PM (#37447354)
> Shouldn't they already factor in the cost of app support for the next X years when selling the product?

Depends what you mean by “should”. If you mean that they should because it would be the right thing to do, sure. If you mean it would be competitively advantageous, well I rather doubt it. Consumers have almost uniformly demonstrated that price trumps all.

Re:DJI Virtual Flight (iOS) has been broken for five months by TeMPOraL on Saturday September 09, 2023 @03:10PM (#37449196)
Price and marketing. For better or worse[0], the consumers are putting trust into marketoids and their emotionally manipulative messaging, that focuses on imaginary nirvana-like experience, and completely omits how the experience is likely to look like a few months after purchase.

--

[0] - Sadly, it's likely for better. The world after most people get an accurate feel for how much they can trust companies will be a very bad place to live in.

Re:DJI Virtual Flight (iOS) has been broken for five months by MichaelZuo on Saturday September 09, 2023 @07:52PM (#37451494)
People were saying this in 1923 after the radio became popular.
Re:DJI Virtual Flight (iOS) has been broken for five months by squeaky-clean on Sunday September 10, 2023 @03:24AM (#37453623)
And they were correct then and they're correct now.
Re:DJI Virtual Flight (iOS) has been broken for five months by jon-wood on Saturday September 09, 2023 @02:54PM (#37449020)
I suspect some of this is why more recent DJI drones have an OS and screen on the controller, because that way they have a single set of hardware to target, and even if some future Android release breaks backwards compatibility they can simply choose not to update to it and the controller will still work.
Re:DJI Virtual Flight (iOS) has been broken for five months by bee_rider on Saturday September 09, 2023 @05:10PM (#37450319)
I think hardware companies just view programmers as, like, EE that aren’t even trustworthy enough to put in charge of keeping the magic smoke in the chips.
Re:DJI Virtual Flight (iOS) has been broken for five months by tetris11 on Saturday September 09, 2023 @12:36PM (#37447241)
Yep. Take a look at Parrot's support for the Disco and Bebop drones. As of a few months ago, the FreeFlightPro app[1] no longer connects to Parrot servers so that you can login to your account on their servers, and only then connect to the drone a few feet away from you.

All this obsolence, just so that they can sell you the new Anafi drones (which will be similarly obsolesced).

Thank god for the Ardupilot community[2ŧŦ] stepping in to open up their drones for at least some semblance of autonomy, so that people can once again control the devices that they've purchased...

1: https://play.google.com/store/apps/details?id=com.parrot.fre...

2: https://discuss.ardupilot.org/t/controlling-parrot-drones-us...

ŧ: admittedly some ex-Parrot developers helped port some stuff over.

Ŧ: Andrew Tridgell (of "reason for chaging VC in Linux from BitKeeper to Git", and other true-coder fame) is pretty active here. It's a very talented community.

Re:DJI Virtual Flight (iOS) has been broken for five months by aftbit on Saturday September 09, 2023 @01:40PM (#37447963)
Thanks for the post about this. I have a Parrot Disco that I was planning to take for its first flight in about two years next weekend. Honestly these companies need to be sued over this behavior. Shutting down the servers without updating the app to work without needing login essentially bricks a product that I paid for.
Re:DJI Virtual Flight (iOS) has been broken for five months by tetris11 on Saturday September 09, 2023 @03:43PM (#37449529)
For Disco you're in luck, there are some really decent ardupilot-based projects out there[1]. Plus, unlike the Bebop camera which is inaccessible via the shell (you can only use the Parrot SDK), the Disco camera can be commanded to stream/record with a few simple commands, and even bound to controller inputs.

A caveat with the controller: it needs to have custom firmware[2] to get it communicating with ardupilot, and to get the firmware onto the controller you need telnet/adb into it via SkyController→usb→ethernet→usb→Laptop adaptor(s) setup.

For a ground control system (GCS), there's three to choose from: Mission Planner, APM Planner, and QGroundControl[3] (ignore the rest, use this one).

For configuring the drone, mission planner is pretty good... but you can also just use MavProxy[4] which is a fantastic commandline program that all the GCSes use in some way, and can even be installed in Termux/Android.

1: https://github.com/uavpal/disco4g/

2: https://github.com/ArduPilot/dema-rc/

3: https://github.com/mavlink/qgroundcontrol

4: https://github.com/ArduPilot/MAVProxy

Re:DJI Virtual Flight (iOS) has been broken for five months by numbsafari on Saturday September 09, 2023 @12:51PM (#37447398)
This is why hardware manufacturers should be required to place schematics and software source code for all components into escrow, and it becomes public when they discontinue meaningful support and or shipping a product.
Re:DJI Virtual Flight (iOS) has been broken for five months by prox on Saturday September 09, 2023 @01:23PM (#37447768)
Maybe a software-esque “right to repair”
Re:DJI Virtual Flight (iOS) has been broken for five months by Valodim on Saturday September 09, 2023 @04:10PM (#37449777)
Sounds pretty close to what the GPLv3 does, doesn't it?
Re:DJI Virtual Flight (iOS) has been broken for five months by theK on Saturday September 09, 2023 @04:45PM (#37450101)
Can you elaborate? AFAIK the GPL just naively enforces that something needs to be and remain open source. How can it turn closed source into open source?
Re:DJI Virtual Flight (iOS) has been broken for five months by Eisenstein on Saturday September 09, 2023 @03:16PM (#37449255)
The problem is that the software is most likely not composed by them in any meaningful way. If you take apart any proprietary firmware and controlling application you are almost certain to find boilerplate code provided by the chipset vendors (protected by NDA) glued together with other code from other vendors with a GPL violating Linux backend.

Recent example: I patched in to my 3D printer's mainboard using a TTL to USB and opened up putty and guess what shows on the console?

> Linux version 3.4.39+ (zhanglei@ubuntu Revision:543)

* https://pastebin.com/CPB7RBdK

Re:DJI Virtual Flight (iOS) has been broken for five months by dvdkon on Saturday September 09, 2023 @04:30PM (#37449978)
That's less of a problem for a hypothetical law requiring either longer-term maintenance or enabling users to perform that maintenance themselves. Manufacturers would just have to make adequate contractual arrangements.
Re:DJI Virtual Flight (iOS) has been broken for five months by Aurornis on Saturday September 09, 2023 @05:05PM (#37450279)
That would be a great way to guarantee that nobody builds hardware in your country.

It would also do absolutely nothing in this situation where the product already comes from a foreign country.

Re:DJI Virtual Flight (iOS) has been broken for five months by bigtunacan on Saturday September 09, 2023 @06:35PM (#37450989)
Maybe if it's a tiny country that makes up virtually no market share. If it's a major market like the USA companies will find a way to comply with the laws to continue marketing their products.
Re:DJI Virtual Flight (iOS) has been broken for five months by cm2187 on Saturday September 09, 2023 @02:33PM (#37448705)
There is also the fact that this particular software is running on a platform that seems to wear breaking changes and backward incompatibility as a badge of honour.
Re:DJI Virtual Flight (iOS) has been broken for five months by qorrect on Saturday September 09, 2023 @02:39PM (#37448781)
I am just imagining this, or did it feel like 10-15 years ago breaking changes were a big deal, and companies went out of their way to provide an upgrade path. Now my flutter app from 3 months ago won't even compile.
Re:DJI Virtual Flight (iOS) has been broken for five months by wrs on Saturday September 09, 2023 @03:20PM (#37449292)
The major platform companies have different historical attitudes that haven’t changed much.

Microsoft: We told you what not to do, and you did it anyway, so we’ll put code in our OS specifically to keep your app running.

Apple: We didn’t tell you that was OK to do, and you did it, and our latest cool stuff broke your app. Over to you. Also, we didn’t mention this earlier, but no more 32-bit apps next year, sorry.

Android: We try to keep your app running, for a while, but TBH a lot of the platform comes from manufacturers who only care for about 18 months. Let’s all just try to survive.

Re:DJI Virtual Flight (iOS) has been broken for five months by mrandish on Saturday September 09, 2023 @04:49PM (#37450137)
A depressingly accurate summary...
Re:DJI Virtual Flight (iOS) has been broken for five months by cm2187 on Saturday September 09, 2023 @06:21PM (#37450863)
not just 32bit. No more powerpc (and soon x86), no more system 7/8/9 apps, etc. It's now a long tradition.
Re:DJI Virtual Flight (iOS) has been broken for five months by konschubert on Saturday September 09, 2023 @03:09PM (#37449180)
When hardware companies sell add-on software subscriptions for their hardware products, this provides an incentive for them to maintain good support even for older hardware.

Apple is doing this successfully with the iPhone.

Apple wants a big install base and thus they keep supporting old devices.

I am thinking of replicating this model for the e-paper smart displays that I am making.

Though it must be very clear that any feature available for free at purchase must remain free forever. Otherwise you lose the trust of your customers and that’s the beginning of the end for any company.

Re:DJI Virtual Flight (iOS) has been broken for five months by xattt on Saturday September 09, 2023 @03:26PM (#37449360)
K’nex had a roller coaster kit that came with Google Cardboard-style glasses and an app. The app was released when iOS 13 was current. iOS 14 broke whatever orientation alignment API the VR app used.

The app reviews are flooded with people complaining it’s broken. I absolutely have no hope it will ever get fixed.

Re:DJI Virtual Flight (iOS) has been broken for five months by ohyes on Saturday September 09, 2023 @04:30PM (#37449980)
This is the most accurate description of dealing with a hardware manufacturer I’ve ever read. I’ve never experienced getting for example, drivers from a hardware company where it wasn’t exactly as you described.
Re:DJI Virtual Flight (iOS) has been broken for five months by saidinesh5 on Saturday September 09, 2023 @05:20PM (#37450401)
A lot of hardware companies also just tend to just outsource a lot of software development to other third parties. Once the software is delivered, sometimes these third parties just move on/go under and the bugs in the software never get fixed.