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: 57607

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

Comment by TFrancis on June 9, 2012 at 2:07pm

Hello again DIY community,

I understand that to control the ArduRover2 you need 3 to 4 channels. I was wondering if I can use a 2-channel radio (I know not very ideal) and use an Xbee system to control the mode and options (ch 7 & 8)? The plan is to use a computer and the Xbee to control the entire rover anyway and only in case of emergencies to use the radio.  

Any advice at all would be well appreciated

Thanks, in advance


3D Robotics
Comment by Chris Anderson on June 9, 2012 at 2:24pm

TFrancis: yes, you can change modes via Xbee/3DR radio with the Mission Planner.


3D Robotics
Comment by Chris Anderson on June 9, 2012 at 2:26pm

I'm not having much luck with the magnetometer (it always seems to be at least 90 degrees off), but the Rover works pretty well with the mag disabled and just using the new uBlox GPS. Here's a really small course (10m sides) in auto mode:


Admin
Comment by Thomas J Coyle III on June 9, 2012 at 5:11pm

@Need some help here,

Like jessie I have been trying to upload the APMrover2 code with LITE ENABLED and IDE 1.01 will compile, but never completes the upload.

To verify that my FTDI cable and APM1 2560 are working, I used IDE 022 to upload an ASCII dump program and after compiling and uploading I was able to view the ASCII dump program in the terminal window indicating that my FTDI cable and APM1 are functional.

However when I try to load the same ASCII dump program using IDE 1.01, it compiles, but never completes the upload like IDE 022 did. Does anyone know what it going on here? IDE 1.01 just keeps saying "Uploading", but never completes the upload like IDE 022 did. After some investigation, I do not think that IDE 1.01 even starts the upload even though it says "Uploading".

Update: I have definitely verified that IDE 1.01 is not beginning the APMrover2 upload after the compile function is complete. I used IDE 022 to load the ASCII dump program and verified that it dumped using the Serial Monitor. I then used IDE 1.01 to compile and load APMrover2. After waiting 10 minutes I stopped the upload and closed IDE 1.01 and terminated the FTDI COMM 11. I then opened IDE 1.01 and restarted COMM11. The ASCII dump program was still in the processor memory and I was able to see the ASCII dump run in the Serial Terminal window. I think that this proves that the IDE is not starting the APMrover2 upload for some reason.

There was a suggestion on the Arduino Forum to replace the avrdude.exe and avrdude.conf in IDE 1.0 and 1.01 with the avrdude,exe and avrdude.conf from IDE 022 or 023 because they are designed to work with the FTDI chip compared to the avrdude.exe in 1.0 or 1.01. However still no joy! On the other hand, my Arduino UNO works great with either 1.0 or 1.01, but uses a different USB to serial converter.

@JLN,

What FTDI drivers are you using with IDE 1.01? I installed the FTDI drivers that are in the IDE 1.01 FTDI folder. Are those the correct drivers?

Regards,

TCIII


Developer
Comment by Jean-Louis Naudin on June 11, 2012 at 1:50am

New APMrover v2.1.3e LITE (IMUless) with:
- APM 1280 (v1.4 IMUless)
- GP2Y0A02YK Sharp infrared sensor for obstacles avoidance
- Magnetometer sensor HMC5883L (DIY) (set to 5V), needed for an accurate nav...
- MT3329 GPS
Please use the library attached and Arduino IDE 0022 +relax patch

The full firmware and lib can be downloaded at:

http://ardupilotdev.googlecode.com/files/APMrover213e_firmware.zip

This is a BETA version for testing purpose...

 Have fun, Jean-Louis

Comment by Anish on June 11, 2012 at 1:55am

wow this is getting better and better ;)


Developer
Comment by Jean-Louis Naudin on June 11, 2012 at 2:10am

You will find the full datasheet of the Sharp GP2Y0A2YK infrared sensor for obstacles avoidance at:

http://sharp-world.com/products/device/lineup/data/pdf/datasheet/gp...

If you set in the APM_Config.h:

#define TRACE               ENABLED

You will see in the message window of the mission planner:

- the measured distance by the Sharp sensor

-  the ground_course done by the magnetometer.

This can be usefull for the tuning of the threshold distance of the infrared sensor and also to check if the magnetometer is disturbed by the magnetic field generated by the wires when the motor is powered...

Enjoy, Jean-Louis

Comment by John Hestness on June 11, 2012 at 4:02pm

I am using ardurover 2.0 code on a ardupilot 2560 with oilpan. Loading it with IDE 1.01  The problem is that the rover will only go in circles while in auto.  Small right hand circles with compass enabled and large left hand circles with compass disabled.  Manual and stabilize seem fine.

I have tried 2 different copies of code, reversing ardupilot steering, checked compass readings with motor running, I have changed compass to components down to match my set up. 

Now I have that horrible feeling that I am missing something really basic. My vehicle is pretty similar to Jean-Louis'.  Has anybody else run into this circle behavior?


Developer
Comment by Jean-Louis Naudin on June 11, 2012 at 10:14pm

Hello John,

This is not the ardurover 2.0 code topics here, but this the test of the APMrover v2.13 firmware... If you use really the APMrover firmware and got small circles instead of straight path in auto navigation, may be that you need to reverse the roll direction of the stabilisation with the mission planner.

Regards, Jean-Louis


3D Robotics
Comment by Chris Anderson on June 11, 2012 at 10:20pm

JLN: Do you have an ETA on the new version of the code for boards with the IMU (not Lite) that supports the current Ardu* libraries and MAVLink 1.0? Right now it generates a compiler error. 

BTW, I don't think you need the relexpatch version of Arduino anymore. Regular Arduino 1.0.1 should work fine. 

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