I installed a Hitec Optima 7 Rx into my plane and reprogrammed the FS settings. I want the failsafe to kick in in the manual modes but not in Auto mode. Using the 2.4 firmware, I have GCS, short failsafe, and long failsafe set to 0. I have THR_FAILSAFE set to 1. The failsafe works as planned in manual modes but it also puts the plane into Circle->RTL in Auto mode which I dont want. How can I fix this?

 

I also posted this in the AP User Group

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

Join diydrones

Email me when people reply –

Replies

  • I think this has been fixed in Arduplane 2.71. The release notes say that one of the improvements is "prevent control mode changes due to receiver input change when in throttle failsafe". I haven't tried this release, but it sounds like a case of problem solved at last.
  • 300km

    Hi John

    Have you had any luck with your failsafe problem? Or tested James Masterman's solution? I've searched and written a couple of posts but haven't had much in the way of help yet. I think I have the answer, but I was hoping a developer/expert would confirm it. See this post, and this older post.

    My solution is to program the Rx failsafe to set ch 8 (flight mode) to auto, similar to what James Masterman said below, (he answered my posts too, thanks James) and disable the throttle failsafe. If it goes out of radio range then the Rx failsafe will keep it in auto mode so the APM can continue the mission. This feels like a workaround to me, I expected you should be able to configure the parameters to allow this to happen.

    Note, I've only tested this on the bench so far and it works (stays in auto). I want to test it in flight this weekend.

  • Hi John,

    Not sure if you are still having this problem, but I have discovered something about failsafe with my radio that may help. When my DX7 is in Auto mode and it flies out of range, Failsafe is triggered. This was perplexing me as looking at the code, there is no way it should have gone Circle->RTL when starting from Auto Mode. The answer was in how my radio handles Failsafe.

    On failsafe, the receiver input into Channel 8 on APM was also changing along with the throttle, which meant the failsafe was inadvertently putting the APM back to manual mode. From here the normal Circle->RTL happens. The trick that worked for me was to bind my reciever with my switches already set to Auto position, this meant that on failsafe, it just stayed in auto mode and failsafe could be turned off by setting FS_SHORT and FS_LONG to 0. As far as I can tell from the code, these only have relevance in Auto modes anyway, and failsafe (Circle->RTL) is always triggered in the more manual modes (Manual/stabilise/FBW).

    Your radio may not be changing the mode setting on failsafe, but it is worth checking. You can test by connecing to mission planner, using the tuning graph on the flight data page and watching the values of ch3in (throttle) and ch8in (mode). Turn off your Tx and watch what happens to the value of ch8.

     

     

  • I know how you feel there is so much post and it seems like to little people wants to comment.
    I als has a problem and its now almost 4 days and no reply.
  • So none of the experts have any ideas as to why this might happen? The software is set to ignore throttle failsafe in Auto modes but it triggers the failsafe anyway. 

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…