Throttle output in auto modes

Hello APM community!

 

First time user of the APM software, been using the AC2 code for a while now and I decided to try something new :)

 

I've setup my APM with the latest code through mission planner and I'm tyring to do some ground tests before flying tomorrow. I have a problem with throttle output in all auto modes during ground tests. All control surfaces and throttle responds in manual mode as expected but when I switch to either RTL, stabilize, or Fly-by-wire A, the throttle cuts(motor stops). In these modes the gyro stabilization is working(I can see my elevons responding correctly to movements of the plane), but no throttle...throttle command resumes again when switching to manual. Is this normal? What am I doing wrong?

My second question is regarding the auto_trim feature, I have to setup some subtrims on my elevons to compensate for imperfections in the EPP mounts of the servos, when I switch from manual mode to stablize or fbwa while holding the plane at startup level position, I notice that the elevons stay in the exact same position. I assume this is because the APM reads the trims from the radio input and assumes this is neutral, I read somewhere on the wiki that this is the auto_trim function but that the define statment must  enabled in order for this to work. Am I correct to assume that this is now enabled by default?(sorry not able to svn the latest release to check the code myself)

 

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

Join diydrones

Email me when people reply –

Replies

  • Another update, after looking through the revisions of some of the code files and running diff, I figured out that the code loaded by the mission planner is different even from the latest code publised on the downloads tab of the project, which I believe for at least 3 or 4 revisions back is the same main code from the svn. I'm now confused as to where the latest code is because whatever is being loaded by the MP(2.2.1) is not the same as the what's in the zip file on the downloads tab. Anyway, I releaded the latest code again through the MP and surprise surprise, the throttle issue is now gone. I assume that the initial problem was due to bad values in the eeprom, because the only difference when I loaded the MP code this time is that I ran the setup wizard which starts by doing an "erase". Am I on the right track?

  • hello again,

    fixed some network issues with my PC and got svn to work. I downloaded the previous revision(2.2.0) from the repository and compiled with arduino. The throttle problem is no longer there. I think there is a problem with the latest 2.2.1 code release. Can someone please verfiy?

This reply was deleted.

Activity

DIY Robocars via Twitter
Sunday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
Saturday
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…
Saturday
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…