Replies

              • Sorry Rolf, I didn't see this message, only when decided to report on the previous issue.

                may be via a custom switch+custom function and show a bitmap graphics+ play a wave file? 

                I think everyone could do whatever he prefers as long as the code is received by Taranis :D

                also, would it be possible add a direct pass through of the APM mode code to taranis? there are some beta flight modes with numbers ranging above 13....  for example I like to fly in the beta "hybrid" mode which, even though is still a beta, offers valuable advantages but its number is 14.  search "hybrid mode" on this forum for more info. 

  • Shweeet, got mine working. This is awesome!! 

    Thanks so much for sharing!

  • I found it here:

    https://pixhawk.ethz.ch/mavlink/#HEARTBEAT

    • Ok, here is what you can do,

       

      declare variable ap_severity=0;

       

      in the MavLink_FrSkySPort.ino file, add in the MavLink_receive function:

                  case MAVLINK_MSG_ID_STATUSTEXT:       

                  mavlink_msg_statustext_decode(&msg,&statustext);       

                  ap_severity = statustext.severity;

                  break;  

       

      Now you can use the returned value ap_severity to set an output depending of the value

      • ap_severity is sending 0x01 (MAV_SEVERITY_ALERT) when battery drops under failsafe level.

        statustext.text is reporting "Battery Low!" 

  • Hi Rolf, i found under:

    MAV_SEVERITY:

    MAV_SEVERITY_WARNING = 4 Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning.

    Can you tell me how I can query that

    Peter

    • In which file? Is it in the MavLink library or in the APM autopilot code??

      /Rolf

  • I can not find anything. However, the MP reports the undervoltage.
    I think it's somewhere in "severity levels used in STATUS TEXT messages"

    Peter

  • Hello Rolf,

    can you help me?

    I want to query the failsafe state.
    In fact, I would like to query a "Battery Failsafe" and then turn on a LED.


    Peter

    • I'm not sure that there is a Mavlink message with the failsafe info from APM (maybe some can help on this)

       

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022
More…