Hey ,

 I am trying to control my Rover with a Companion Computer ( Raspberry Pi). I have installed DroneKit Python on the Pi, The commands works fine for a Copter as most of the tutorial says. but they do not work for Rover. 

The Raspberry Pi is getting connected to the Pixhawk, but when the pi commands the Pixhawk to move with vehicle.message_factory.set_position_target_local_ned_encode the Rover dose not move. this worked fine for the QuadCopter. 

Is there any alternative or any other way by which i can control the Rover any help is appreciated.

Thanks.

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

Join diydrones

Email me when people reply –

Replies

    • Cruise speed is fine, throttle may be too high.  Cruise throttle is the initial throttle guess, so it will start at 50% then after it figures out how fast its going it will correct.  With slew at 100 that means it will punch 50% from a stop, that may be too fast.  Set your cruise throttle to match either your APM desired speed or companion desired speed, and I have my slew rate way down so it accelerates slowly.  My rover is meant for use across rough terrain though and uses NiMh, if you are on LiPo and smooth ground you might just need to set the throttle.

    • That's very helpful, I'll give it a try.  Thank you.

    • Sure thing, let me know how it turns out.

  • Developer

    Akshay it should work - have you resolved the issue?

    Thanks, Grant.

  • I always change the mode to guided first and then use simple_goto()
    • Simple Goto is working for the SITL only But not for the Actual Rover.. 

      Cruise Speed is set at 2 m/s and 

      Throttle is at 20 % can you say what can be the issue. 

    • You armed the Rover and put it into guided mode before using simple_goto? My rc car needs more than 20% throttle to start moving. Once it is going I can back it off. Maybe try increasing throttle a bit.
This reply was deleted.