Mission Planner Commands for Balloon Launch

Good Afternoon (I've copied/pasted this from the Ardupilot forums to try and cast a larger net)

I'll start by saying the versions of everything I am running are shown below:
1b9517794c615970aec47436d917db43e8290f2b.PNG

I come to these forums to ask for some help with some MAV commands that I am using for a project. The short version is: I am attempting to send a X-UAV Mini Talon up to altitude (nothing too high, maybe 1kft for now) on a balloon, disconnect the drone, and have it return to the launch point without any user interaction after pressing 'arm'. The issue I am facing is in the balloon stage. Specifically, having the drone do nothing until height 'X'.

I've been searching through the documentation in the wikis on Ardupilot, these forums, and any random google result that seems like it would help for about a week and have yet to find any similar questions being asked.

I have some C and C++ experience, but not an extreme amount. So looking through the code and other forums I've managed to find mentions to an 'IDLE' mode and a MAV command named: MAV_CMD_NAV_ALTITUDE_WAIT, and associated do_altitude_wait command. (see pictures)

1e5fa72c496cae48c122f737a1486983b678a223.PNG
0c12ebc89a3fed5cee2f4813c7d7fe24620e96bd.PNG

These are specifically mentioned in comments as being for balloon launches and I have seen posts about other teams using them successfully. The question I ask is how do I access these commands/functions? The drop down boxes in mission planner does not have the options available (see pictures below) and as such I assume that I need to do some work in the code to either enable these as options in mission planner or write the waypoint/mission file in a text editor instead.

36f60c394b0070e0a594d7d82b9e08ee415dc598.PNGcfd239ec88f6848eacaba25de07a3247c1023789.PNG

A work around I have been attempting to use is the CONDITION_CHANGE_ALT command, coupled with SET_SERVO to turn motors on/off at various point but that comes with its own issues with failing to upload the WP throwing "Upload wps failed CONDITION_CHANGE_ALT MAV_MISSION_UNSUPPORTED"
Avoiding setting the mission this way would be preferable anyway.

If anyone has any helpful hints, or can point me to someone that has done this type of mission before I would appreciate it. Thank you advance for your time. I'll in New Zealand (GMT +12) time and will be around for most of the work week to answer any further questions.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • It was a while ago now. But if I remember correctly, I never managed to make the altitude_wait command appear in the drop down box in mission planner itself.

    I ended up setting a random function for that waypoint, then opening the txt file and manually coding the function in. If I opened it again in mission planner it still functioned as I wanted it to when I uploaded the file into the drone.

    Bit of an annoying workaround, but it worked. Hope that helps.
  • Could you solve the problem for MAV_CMD_NAV_ALTITUDE_WAIT?

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars It's just something that's easy to track with chroma keying. I ended up using different colors on th…
yesterday
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Nov 23
DIY Robocars via Twitter
Nov 23
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
More…