I updated everything last night to what the updater now calls APM v2.0, which AFAIK is 2.11 from the downloads section.

I also updated the APM Planner software to 0.4.33

 

I redid my radio and modes setup, ran a pile of tests and everything checked out, including radio tests (channel 8), and modeswitch. It was pissing rain, so I didn't go outside to get a GPS lock.

 

However in the GCS when I switched from test mode and USB connection to flight mode and xbee connnection, the flight mode didn't change in the Mavlink GCS. Other telemetry (yaw, pitch roll, artificial horizon) worked fine.

 

It would also make sense that not having a GPS lock prevents moving out of manual flight mode, but this wasn't how previous versions behaved.

Views: 56

Reply to This

Replies to This Discussion

I checked this after getting GPS lock and with HK GCS, modes are changing in the autopilot (I get throttle up in loiter mode), but do not update on the Mavlink GCS.
On the Serial Data tab, try Max Altitude: 5Hz, Max GPS 5Hz, Max Waypoint 1Hz
Thanks but the problem is not with HK GCS, it's with the APM Planner GCS.

Are the modes that you are getting the correct modes that you configured in the modes setup utility?

 

To answer your question about pre-gps lock settings - the behavior you see is correct in that it does not set itself to auto-pilot if there is no gps lock.. it loiters instead.

HK GCS reports flight modes correctly, as configured in the setup process and selected with my switches. In stabilize mode control surfaces respond properly according to pitch/roll.

APM GCS however still indicates Mode: Manual regardless of flight mode selection.

I'm going to try and roll back from Planner 0.4.33 to 0.4.30 and see if that changes anything. If not then I will roll back from APM 2.11 to APM 2.1.

I tried this with 0.4.30 and the modes change on the GCS. I made no change to the APM code loaded in the board.

0.4.30 behaves as expected. 0.4.33 does not give a mode change in GCS and neither does 0.4.35 which I just updated to...

 

Tests behave as expected:

Cut and paste selection of PWM test:

IN: 1: 1532    2: 1468    3: 1081    4: 1576    5: 1497    6: 1497    7: 1497    8: 1967
IN: 1: 1532    2: 1468    3: 1081    4: 1576    5: 1497    6: 1497    7: 1497    8: 1967
IN: 1: 1532    2: 1469    3: 1081    4: 1576    5: 1497    6: 1497    7: 1497    8: 1967
switch changed to stabilize
IN: 1: 1532    2: 1469    3: 1081    4: 1576    5: 1497    6: 1497    7: 1497    8: 1469
IN: 1: 1532    2: 1468    3: 1081    4: 1575    5: 1497    6: 1497    7: 1497    8: 1219
IN: 1: 1532    2: 1469    3: 1081    4: 1575    5: 1497    6: 1497    7: 1497    8: 1094
IN: 1: 1532    2: 1469    3: 1081    4: 1575    5: 1497    6: 1497    7: 1497    8: 1032
IN: 1: 1532    2: 1469    3: 1081    4: 1575    5: 1497    6: 1497    7: 1497    8: 1001
IN: 1: 1532    2: 1469    3: 1081    4: 1575    5: 1497    6: 1497    7: 1497    8: 985
IN: 1: 1532    2: 1469    3: 1081    4: 1575    5: 1497    6: 1497    7: 1497    8: 978



test] modeswitch

Hit Enter to exit.

Control CH 8
Position 0 (switch set to stabilize)
Position 5 (switch back to manual)
Position 1 (switch to auto)
Position 5 (switch to manual)
Position 0 Switch to Stabilize)
Position 1 (Switch to auto)
Position 5 (Switch to manual)

test]

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service