I would like to be able to store my mission files (waypoints, fences, rally points) onboard my drone somehow (e.g. on the micro SD card of my Cube Orange).
Thanks to this, I could reduce the time needed to upload each of these files to the drone, which can take a long time and can be hindered by poor cellular (as we are using cellular based telemetry), and instead just somehow select which of the files that are already on the drone should be used for a given flight.
Here’s some key context: we are conducting exclusively BVLOS operations with a remote pilot (the pilot is not located near the drone takeoff location or anywhere along the flight path), and flying missions fully in AUTO mode, up to 50 km total (25 km out, 25 km back to Home). We are using cellular based telemetry, so things like radio telemetry antennas line of sight etc are not a problem, although there is some more latency.
Is there anyway in which I can store multiple waypoint / fence / rally point files onboard the Cube Orange (e.g. like LUA scripts are stored) in a way that allows me to select which files the drone should use for a given flight and does not require uploading them to the drone remotely each time? Thanks!
Unless I’ve misunderstood this, the new feature in copter 4.4.0 is to increase the number of waypoints in a single mission. I.e. the current limit is around 650 waypoints, whereas this new feature would allow up to 4000 waypoints. But it doesn’t seem to enable multiple different missions and switching on the fly?
What do you mean by “on the fly”?
I haven’t tried it but I would guess it has the same functionality as the Lua script and you can select up to 3 missions stored on the card with a switch on Arming. The Simulator seems to suggest this with a " RCx: MissionReset MIDDLE" message.
Given that you can now store thousands of waypoints, you don’t even really need a script to choose between stored missions. Just save one large one with multiple takeoffs and landings. Make notes of which waypoint numbers contain the takeoff waypoints, and use a GCS to set a takeoff waypoint as the current waypoint to fly what amounts to a “sub-mission.”
For example, I just ran this short mission in SITL:
After the first landing, it disarmed and awaited further input. I advanced the waypoint to 6 and armed again to fly the rest. I could just as easily have started at waypoint 6 from the beginning to only fly that portion.
@Yuri_Rage This is a smart solution. A way to make it even simpler to swap between each of the routes you have set by the waypoints between the takeoff/landing points is just using the SET_WAYPOINT feature in MAVLink (available on Mission Planner under the HUD). That way you can skip around to different takeoffs and do different routes.