Needing do_set_servo command on a Pixhawk rover help

I have a Dimension Engineering "Doubleswitch" R/C relay on my Pixhawk controlled rover. I need to turn this relay on at a waypoint during the rover's mission.

So far I've done the following;
1) Set the BRD_PWM_COUNT to 2.

2) Plug the 3 pin cord from the DE Doubleswitch into location 50.

3) Added a do_set_servo command between two waypoints. Set the Servo number to 50 and the PWM to 1900.

I run the mission, but the relay doesn't activate at all. Did I miss something?

Thanks

Bill

 

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

Join diydrones

Email me when people reply –

Replies

  • This reply was deleted.
    • Hi Chris,

       

      Yes I was able to get the servo part to work after lots of newbie like fiddling. I discovered the SERVO tab on the Mission planner Flight Data screen. There I could manual switch on and off servos # 5 thru 11. Once I figured out the servo I was connected to, I put that number in the "Ser No" column... in my case 9 and 10 (instead of 50 and 51) and of course the 1900 or 1100 under the PWM column. So Yes the pin numbering system is very confusing

      And No I was not able to get any delay stuff to work. That was some time ago and maybe they've fixed that... but as of a few days ago, even the simple waypoint delay still didn't work for me

      Maybe someone familiar with all the delay stuff will bring us up to date.

      Best,

      (Robo) Bill

    • Hi Chris

      I too am concerned about the 127 waypoint limit. I did find several discussions regarding this topic... likehttp://ardupilot.com/forum/viewtopic.php?f=21&t=6530&p=2023...

      Again... hopefully someone will jump in and give us the latest scoop.

      RoboBill

  • While I'm able to manually operate the servos from the Servo Tab on the flight data screen, I still can't get them to operate during a mission.....

    Here is my tiny log

    Failsafe ended
    ArduRover v2.45 (6b5d27ef)
    PX4: 7f1aa4fd NuttX: ed45e813
    PX4v2 26003800 18473235 32303436
    command received:
    command received:
    Non-Nav command ID updated to #255
    flight plan received
    Non-Nav command ID updated to #255
    Reached Waypoint #1 dist 1m
    Executing command ID #183
    Non-Nav command ID updated to #255
    Reached Waypoint #3 dist 1m
    Non-Nav command ID updated to #255

    ANY suggestion would be appreciated 

This reply was deleted.