A ground station in Java for a rover

Hello All,

I am new to the community and as a noobie I seek your help/guidelines/advice in order to achieve my goal which is the creation of a ground station in Java.

The research team which I belong to is working on a platform for creating high level abstraction languages. The goal is to deploy an intelligent system on a raspberry pi which will control the rover over Mavlink communication.

The rover looks like on the picture at the moment and is intented to be used indoor. Basically the rover is supposed to move kind of slow in a room for obstacle detection through the use of a sonar.

Here is what I managed to achieve so far:

- use the mavlink generator for Java (https://github.com/ghelle/MAVLinkJava),

- connect to the board through serial port and mavlink protocol,

- run following script:

DO_SET_MODE with parameter MANUAL_ARMED,

RC_CHANNELS_OVERRIDE

The rover is moving but

- even though the speed can be set with the parameters of the RC_CHANNELS_OVERRIDE command, it is still moving too fast,

- sending the DO_CHANGE_SPEED command prior to the RC_CHANNELS_OVERRIDE command does not seam to have any effect,

- sending the RC_CHANNELS_OVERRIDE command results in the rover moving for about 2 seconds before a complete stop, is the fail safe function the guilty?

At first I would like to make the rover move a certain distance or move a certain period of time.

I thought about using the RC_CHANNELS_OVERRIDE for that purpose, but is it the best strategy?

If yes, then how to control speed, and how to use correctly the override command so that it does not stop?

F.

IMAG0075-1.jpg

IMAG0076.jpg

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

Join diydrones

Email me when people reply –

Activity