"DO_SET_SERVO" issue

Hello everyone  !

I have an APM 1 with ArduPlane V2.28 firmware.

I'm trying to use "DO_SET_SERVO" command to open the chute.

To test its action at the table before using it in flight i connect a servo to the 5th channel and make 4 commands in APM planner as shown in the attached file.

After the autopilot initialization i set its mode to auto via RC and unfortunately nothing happens. Ardupilot just holds the servo position as it was since startup. Tried clicking at "Restart mission" also.

I guess i'm doing something wrong )

I appreciate any help.

1.jpg

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    I do not believe you can test it like that, as your mission is not a valid mission.  The mission processing always has an active navigation command.  When you initiate Auto mode, the mission processing will look for the first navigation command.  Since there is not one, it will terminate the mission.  Condition and Do commands preceding the first navigation command are always skipped.  Read the wiki page here - http://code.google.com/p/ardupilot-mega/wiki/MPWaypoint

    Add a navigation command as the first command in your mission, then use Planner to jump to the set servo commands while in Auto and you should be able to test the servo command that way.  Alternately, run your test using the hardware in the loop testing - that would be the preferable way (or at least the way I have done it).

This reply was deleted.

Activity

Jørn Ramnæs liked VIDEO LINK's profile
yesterday
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
yesterday
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
yesterday
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
Thursday
More…