APMRover 2, a fun UGV project for full autonomous recon missions...

[UPDATE: This project is now being ported to a proper Google Code repository and manual. For instructions, start there. You can also join the ArduRover User Group here.]

Hello to ALL, the new firmware for APMRover v2 has been tested successfully on my rover on may 1st, 2012 on full autonomous reco mission following a navigation plan. This new release of the APMRover v2 works on the APM v1.4 with the OilPan shield (magnetometer + MT3329 GPS) and also of course on the APM v2. The previous version of the APMRover v1.0 was a light size version specially designed for the APM1280 CPU (only) board and the MT3329 GPS.

For the frame, I have used a Traxxas Monster Jam Grinder with a brushed and high power motor Titan 12T and its XL-5 ESC.

The APMrover UGV is able to run itself following a list of recorded waypoints. The waypoints list (FPL) can be preloaded with the APM Mission Planner OR better in live, recorded by the pilot himself (with the SW7) during a manual run and then replayed in a full autonomous mission.

The firmware APMrover2 for APM v1 + OilPan or APM v2 successfully tested can be downloaded HERE

The APMrover v2 is also online on the official ArduPilot-Mega GIT repository HERE

Below the PID setup for the APMrover v1 and v2:

The light firmware APMrover1 for APM v1 (CPU 1280 or 2560) that I have tested can be downloaded HERE 

Here's how to connect your cables:

More infos at: http://diydrones.com/profile/JeanLouisNaudin

Have Fun and Enjoy with the APMrover...

Regards, Jean-Louis

Views: 57385

Tags: ARDUPILOT, AUTOPILOT, DRONE, UAS, UAV, UGV

Comment by Neil Flournoy on September 21, 2012 at 10:36pm

Hi, 

I'm trying to get the rover to move in auto. Could someone post a small program with a couple of waypoints so I can see what a working program looks like? I've watched the videos and seen that just a flip of a switch sends the rover on it's way so I know it's me but I need to narrow down the list of possible problems. A working example would help a lot.

MP1.2.12 mav1.0

APM2

ublox

Thanks

Neil

Comment by u4eake on September 24, 2012 at 8:20am

Did you upload your waypoints to the APM with mission planner ?

In mission planner, go to the "flight planner" tab.  Enter some waypoints by clicking on the map (while connected to internet, so you have google earth maps).

Then select "write waypoints" and you should see a message showing that the waypoints are being written.

Then putting the APM in "auto" mode will start the car (be sure to limit throttle and to set THROTTLE_SLEW_RATE or it may be more lively then you'd like ;-) )

Comment by Neil Flournoy on September 24, 2012 at 9:25am

Thanks u4eake;

That must be the short virsion or is it really that simple? I tried all that for two days and finally had to take the truck apart because I borrowed it from a friend to try the APM. In the waypoint list I started with TAKEOFF, then a waypoint, then another way point and then a RETURN TO LAUNCH. You are saying all I need are the two waypoints and it will go when I switch to AUTO? I must be over thinking it.  An example program in the instructions would answer so many questions.

Comment by Evaristo Ramos, Jr. on September 24, 2012 at 10:41am

Hi all, I am not near my build due to being offshore on an oil rig enroute to the Gulf of Mexico, but i did get as far as being able to download the waypoints to the rover during the time I was home. I dont think my GPS was latching onto the satellites which stems probably from my soldering job which I am going to have to rework when I get home.

Comment by Neil Flournoy on September 24, 2012 at 1:57pm

u4eake;

 On my desk I’ve connected the Rx and APM per JLN’s diagram and connected a servo to the #1 output (steering) and an airplane ESC and motor on the #3 output. I reloaded the Rover 2.20 firmware and calibrated the radio. Powered down and up to get the rover icon to show. All four channels work, as verified by putting servos on each output and moving them. The motor servo only works in the forward direction but that’s probably because it’s airplane and not supposed to reverse (?)but the crawler I had hooked up yesterday worked in both directions. In FP I added two way points and wrote them to the APM. I switched the MODE switch to AUTO (configured as flight mode 3) and nothing. I'm stumped.

Neil

Comment by Chris Cuddihy on September 24, 2012 at 6:24pm

Magnetic declination?  How is it entered?   I've enabled the compass via CLI,  but I don't know how to enter declination (12.25 in my neighborhood).    There also seems to be a way to do this in the Configuration menu under Hardware Options.  I've tried that but it doesn't stick.  Also, once Iv'e entered it correctly how do I know that it has been written to the EPROM?

 

 


Admin
Comment by Thomas J Coyle III on September 26, 2012 at 9:45am

Neil,

I believe that the GPS has to be moving to get an accurate fix and since it is not moving, I suspect that you will not see much if any steering/motor output.

Just a thought.

Regards,

TCIII

Comment by u4eake on October 4, 2012 at 9:40am

Neil, yes, it's that simple.  You don't need takeoff or return to launch commands.  Takeoff is for planes / copters and you can activate RTL with channel 7.

You do need to have GPS 3D lock before you can engage auto mode.  Since your gps in inhouse, I suspect that's why nothing happens : you don't have lock.  Try it outside, after the gps has obtained lock.

The gps doesn't need to move to get a lock, it just needs to be outside and have a clear view of as much sky as possible, so it can receive the gps sattelites that are orbiting the earth.

Chris, try the CLI command line interface to enter your magnetic declination


Admin
Comment by Thomas J Coyle III on October 7, 2012 at 8:22am

Hi All,

I know that this is a double post, but many of you are not in the ArduRover User Group and may not have seen this discussion and could possibly provide useful input.

For those of you who have your ArduRover working, I need some input from you concerning the setup of the radio channels.

I am using a Spektrum DX7 transmitter and a BR6000 receiver. I have the receiver connected to the APM1 R/C inputs per the diagram. I get the following R/C channel ranges in the MP:

Roll: 1109 - 1891

Pitch: 1110 - 1885

3 Way Switch: L 1148, M 1501, H1853

2 Way Switch (momentary): 1109 - 1892

I have the flight modes setup as follows: 1 Auto, 2 Auto, 3 Stab, 4 Stab, 5 Man, 6 Man.

Questions:

1) Do I have the flight modes set correctly for the ArduRover. I am assuming that the Stabilize mode is the Learning mode? I have saved the flight modes using the MP.

2) When testing the two way switch, the APM1 will lock up and requires a reset. Possible cause?

3) What is the difference between the actions in the Configuration Tab and the "Setup" button in the Firmware Tab in the MP?

4) After using the MP to load the latest ArduRover software and doing a reset in the CLI setup, what is the best approach to follow to complete the setup of the ArduRover. Should I start with the Setup in the Firmware Tab or go and use the functions in the Configuration Tab? The Setup initiated from the Firmware Tab seems to be very basic while the Configuration Tab functions are very detailed in the number of parameters that can be adjusted.

5) I have noticed that it does not matter what position the CLI switch is in on the Oilpan as I can initiate the CLI connection in either position. What position should the CLI switch be in for normal run operation? I think that it should be towards the servo pins for autonomous operation? Comments?

Regards,

TCIII

Regards,

TCIII

Comment by Chris Cuddihy on October 10, 2012 at 11:54am

Does the code absoulutly requite a 6 channel radio?

Zero success. I can’t seem to get rover to do anything. Manual mode doesn’t work (well it dose seem to do something, some time, but never anything consistant.
I’m using Xbee telemetry.
I do not have a 6 channel radio (3 posit switch and 2 posit switch). I have tried a 5 ch radio ( 2 posit switch for landing gear) and a 2 ch radio.
Does the code absoulutly require a 6 ch radio?  Or does the code need to be modified?

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service