[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
Comment by KM6VV on May 30, 2012 at 10:48pm Hi Thomas,
Interesting parts! Looks like the shield is set up to mount in Legos?
So you like simple range limits for the sensor? I've always gotten the range (analog or digital), and then compared it to my limits.
Alan KM6VV

@Alan,
Backing up is not as big a concern as going forward and MINDS-i seems to have optimized the IR sensor distance for their rover which is very similar to yours/mine. I have always said to apply KISS to all my projects if at all possible.
The MINDS-1 hardware looks similar to Legos is why the Shield looks like it has a Legos mounting capability.
Regards,
TCIII
Comment by Chris Cuddihy on May 31, 2012 at 8:52am How do I load the APMrover firmware onto my APM2? I can't find the info I need in the MP manual, and need a bit more than "just use the config tab".
Thanks.
Chris: Load it with Arduino.

@Chris,
Does your comment above imply that the ArduRover code cannot be loaded via the Mission Planner also?
Regards,
TCIII

Chris Cuddihy, unfortunately you cannot simply flash the firmware from MP at this time. You will need to download the code, compile it with Arduino, and upload it to the board manually. It's a bit of a learning experience. But that's how it is for now.

@Chris A.
That's the exact same chassis I put it on. The SCX10 is not the best crawler chassis out there, since it compromises for scale instead of performance. But it looks good doing it. I've got a nice body on mine, fit the whole system right underneath.
Whoever it was that asked, the chassis is a bit heavy, but not too bad really. I put a 35 turn crawler motor in mine, just the right speed, I think. It'll just turn-over in a high speed turn, so it's fast enough, but it can also crawl nice and easy.
But for the best performance, a dedicated crawler would be best.

Wesley, your wheelchair motors are awesome!
I believe JL said that the differential drive can be used with the Rover code, by setting it up in "elevon mode" (since it's all based on the airplane code).
Comment by KM6VV on May 31, 2012 at 12:50pm "Elevon mode". Humm, I'll have to think about that. Mix elevator an ailerons (pitch and roll).
My thinking is to just use a Roboclaw or Sabertooth type dual motor controller (instead of an ESC and servo) to do the mixing from throttle and steering commands into skid-steering (tank) motor control.
Comments?
I guess I'll find out. Otherwise, one can change the algorithm in the code and even send I2C or other serial (RS-232) commands to said motor drivers. The motor drivers can then use encoders, and locally implement PID controls for two motor channels. Maybe the code can already do some of this!
I'd rather send I2C motion commands then have to generate R/C PWM signals for throttle and steering. I'd suspect there would be some resolution loss in the steering PWM, no?
Just thinking out loud, certainly no criticism intended! I'm merely looking to explore the implementation and possibilities!
Alan
Comment by Chris Cuddihy on June 1, 2012 at 8:18pm I'm having a lot of trouble getting Ardurover code to complile. Here is a snippet of the errors;
In file included from APMrover20b.cpp:69:
C:\Users\Chris\arduino\arduino-1.0\libraries\Fastserial/FastSerial.h:70:10: error: invalid suffix "px" on integer constant
In file included from APMrover20b.cpp:69:
C:\Users\Chris\arduino\arduino-1.0\libraries\Fastserial/FastSerial.h:94: error: stray '#' in program
C:\Users\Chris\arduino\arduino-1.0\libraries\Fastserial/FastSerial.h:274:3: error: invalid preprocessing directive #file_flipper
C:\Users\Chris\arduino\arduino-1.0\libraries\Fastserial/FastSerial.h:334:31: error: too many decimal points in number
C:\Users\Chris\arduino\arduino-1.0\libraries\Fastserial/FastSerial.h:1589: error: stray '#' in program
Also, I'm not sure I'm dowloading the libraries correctly from the GIT. I am using "save target as..., adding the file extension and saving it . I have to do this for every file in the library. Is there a better way?
Thanks, Chris
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.24 members
1277 members
183 members
246 members
179 members
© 2013 Created by Chris Anderson.
Powered by

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