My new (used) APM arrived, I'm porting some code from my own aoutpilot and so I'm learning the actual latest code...what a pain. nice anyway! leatest apm 2.1.2 and gcs downloaded yesterday.

 

yaw servo stuck, no movement no matter what  pid values or yaw rotation I put into it. I have magnetometer enabled and working.

 

the gcs reports loiter instead of rtl even if inside the setup routine shows and saves rtl and crashes a lot in my vista enviroment (4 years SO with some problem about com ports, could be my problem).

 

I made a good code for dual channel aileron with differential (it sense diff input and repeat it on output autoatically). Now working on porting spoilerons code..

 

if anyone interested I can post it (for a quick and dirty see issue 373, it does not care about trim on second channel but is very quick, actual code is spread on multiple functions).

 

 I would like to know how to set the declination inside the firmware so I should not make the setup every time I load my mods.

 

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

Join diydrones

Email me when people reply –

Replies

  • 3D Robotics
    Don't worry about the GCS reporting "loiter" instead of "rtl". It's just that MAVLink doesn't have names for all the APM modes, and actually RTL = Loiter at home.

    The Yaw (rudder) servo typically is only used to coordinate turns in motion. You should not see it move appreciably on the ground.
This reply was deleted.

Activity