Hi, I am working on a project for uni where I have to make an UGV capable of waypoint navigating only.

I have a standard Arduino mega 2560, (as in an 'off the shelf' bought, non- ardupilot board) with a GPS shield and an SD shield that works currently, logging the gps data.

I only have one throttle, and one servo for steering. (k.i.s.s.)

Now given the waypoint setup in the APM, is there anyway that i can connect up two pwm controls (being steering and acceleration) and have it steer and accelerate to the next logged waypoint?

The GPS also has a compass, so heading is available.

Thanks, Justin

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

Join diydrones

Email me when people reply –

Replies

  • Admin

    @Justin,

    I would look at the schematic of the APM1 board and make your inputs and outputs (servos, esc, compass, gps, etc) similar to that of the APM1. The I would look at the coding that JLN has modified for the ArduRover project to get an idea of what you need to code. I think that this is a good starting point for you without having to reinvent the wheel!

    Regards,

    TCIII

This reply was deleted.

Activity