Alt drop loiter_turns

While flying several circles with different radius (in Auto_mode with the command loiter_turns) my vehicle starts losing altitude when it has a speed of 10 m/s. The first idea was that this was caused by the aerodynamic effect that causes the barometer altitude to suddenly climb, but like you can conclude from the logs this isn't the problem. The barometer altitude gives the correct altitude.. Does anyone know what the problem is? I attached the logs.

Thanks,

Stijn. 

17.BIN

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

Join diydrones

Email me when people reply –

Replies

  • I just programmed your mission and did 7 turns from 5m to 35m and did not lose any altitude on each turn nor through the entre mission. Also there was a strong wind about 15mph which also did not effect the mission.

    • What was the speed and turn rate you were flying with? We are flying against the speed limit, if you set an unrealistic high turn rate (for example 20 deg/s), wp_speed at 2000 cm/s, wp acceleration at 500cm/s² the copter will try to go as fast as possible in every circle. This is what we did, and then it started to drop in altitude. 

  • From the logs it looks like the copter can not turn at the rate you set.  We can see from the logs that as it turns it starts to loose altitude.  When it get to the end of the circle in this case clockwise it sees that it is too low to reach the next way point and slows down and climbs to reach it.  It then repeats this.  The last loop has the farthest to go and looses the most altitude before you switch to loiter to prevent it from hitting the ground.

    Also since the copter is rotating as it turns it has to apply yaw which could also be causing it to fall.

    • That's possible, but I think if the copter can't reach the rate you set as parameter, the arducopter code uses the rate that is calculated from the actual velocity of the vehicle and the radius of the circle. 

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…