Information

ArduRover User Group

Dedicated to the exchange of useful information between members using the Arduino or other families of processors for autonomous rovers.

Members: 185
Latest Activity: 3 hours ago

Discussion Forum

Mike's ArduRover Build Log

Started by Mike Wilson. Last reply by Thomas J Coyle III 3 hours ago. 28 Replies

After seeing how much fun you guys are having with your ArduRovers, I've decided to start a build of my own.  I currently have the following equipment on order to be put into a Traxxas E-Maxx non…Continue

John's Crawler Drone Build Thread

Started by John Moore. Last reply by KM6VV 4 hours ago. 94 Replies

Welcome to my build thread.  This is my first attempt at building a ardurover based on APM 2.5.  The RC platform I am building on is an Axial SCX10 rc crawler (2012 Jeep Rubicon).  The end goal I am…Continue

R/C Dump Truck

Started by Matt Droter 11 hours ago. 0 Replies

Hi,I am trying to track down an RC dump truck like this one:…Continue

Which RC Car should I get?

Started by Ben Boughton. Last reply by Ben Boughton 22 hours ago. 25 Replies

Hi all, I am completely new to RC cars and Drones. I have spent a couple hours reading about ArduRover and would really like to give it a try. I thought about building my own but figure for now best…Continue

Tags: ardurover, selection, car

Comment Wall

Comment

You need to be a member of ArduRover User Group to add comments!


Admin
Comment by Thomas J Coyle III on March 20, 2013 at 7:11pm

@Lake,

I do not recommend trying to do the radio calibration in the MP. I always use the Terminal Mode and the CLI. After you first make the link between the MP and the APM, click on the Terminal Tab and when you have the CLI command line, type "setup". Then type "reset" and follow the instructions.

After you have the CLI prompt back, type "radio" and follow ing the instructions. You should only need to calibrate channels 1, 3, 7, and 8. Then type "exit" and reestablish the Mavlink connection between the AMP and the MP.

Go to the Flight Display tab then point the mouse under the MP baud rate window and select ArduRover. The plane icon should become a car. Now go back to the Configuration tab and select the Radio Calibration, but do not attempt a calibraiton. Just verify that the roll "steering" and throttle bars move when you move the sticks on the transmitter. Also make sure that channel 7 goes from a low pwm to a high pwm value. You can try channel 8, but do not go below a pwm value of 1500 or the APM will go into reset.

This should get you started.

Regards,

TCIII

Comment by Lake McGuire on March 20, 2013 at 6:57pm

Well, it worked as far as compiling and uploading.   When I open MP and do the 'reset' and 'radio' in the terminal, that works too. 

Then, when I go into the 'Configuration' tab, Im able to connect, but when I try to do a 'Radio Calibration', it doesn't seem to regester with the red lines, etc. and I get the error messages that say 'Failed to set Ch 6', etc.

 

I also try to enable the 'Compass' under 'Hardware Options' and it reads an error message 'Set MAG_ENABLE Failed'.

 

What am I missing gentlemen?


Admin
Comment by Thomas J Coyle III on March 20, 2013 at 9:55am

@Lake,

I have never had to put the Ardupilot libraries in with the IDE libraries. I have always kept that libraries in the ArduRover2 folder. Are you sure that you have used the Ardupilot tab in the Ardupilot modified Arduino IDE 1.0.3 to define your APM and then closed and restarted the Ardupilot modified Arduino IDE 1.0.3. Also, have you verified in the IDE preferences that you have the correct path set for your Sketch.?

Regards,

TCIII

Comment by Lake McGuire on March 20, 2013 at 8:57am

Thanks for your email Tom.  I tried your suggestion but still no luck...  Here's the error message when I try to verify/compile.  It goes on further, but for brevity, I just took the top part....  I'm sure I'm doing something wrong and I'll kick myself later for not thinking of it.

 I've also found and followed the directions on installing libraries from Arduino...http://arduino.cc/en/Guide/Libraries

Building for ArduPilot Mega 2.x
Excluding arduino core from include paths
APMrover2.pde:95:21: error: Arduino.h: No such file or directory
In file included from APMrover2.pde:83:
compat.h:12: error: variable or field 'run_cli' declared void
compat.h:12: error: 'AP_HAL' has not been declared
compat.h:12: error: 'port' was not declared in this scope
In file included from APMrover2.pde:90:
Parameters.h:141: error: 'AP_Int16' does not name a type
Parameters.h:142: error: 'AP_Int8' does not name a type
Parameters.h:146: error: 'AP_Int16' does not name a type
Parameters.h:147: error: 'AP_Int16' does not name a type
Parameters.h:148: error: 'AP_Int8' does not name a type
Parameters.h:151: error: 'AP_Int8' does not name a type
Parameters.h:152: error: 'AP_Int8' does not name a type
Parameters.h:153: error: 'AP_Int8' does not name a type
Parameters.h:157: error: 'AP_Int16' does not name a type
Parameters.h:158: error: 'AP_Int16' does not name a type
Parameters.h:159: error: 'AP_Int8' does not name a type
Parameters.h:160: error: 'AP_Int8' does not name a type
Parameters.h:161: error: 'AP_Int8' does not name a type
Parameters.h:164: error: 'AP_Int8' does not name a type
Parameters.h:167: error: 'AP_Int8' does not name a type
Parameters.h:168: error: 'AP_Float' does not name a type
Parameters.h:169: error: 'AP_Float' does not name a type
Parameters.h:170: error: 'AP_Int16' does not name a type
Parameters.h:174: error: 'AP_Float' does not name a type
Parameters.h:175: error: 'AP_Int16' does not name a type
Parameters.h:176: error: 'AP_Float' does not name a type
Parameters.h:177: error: 'AP_Int8' does not name a type
Parameters.h:178: error: 'AP_Float' does not name a type
Parameters.h:179: error: 'AP_Int8' does not name a type
Parameters.h:182: error: 'RC_Channel' does not name a type
Parameters.h:183: error: 'RC_Channel_aux' does not name a type
Parameters.h:184: error: 'RC_Channel' does not name a type
Parameters.h:185: error: 'RC_Channel_aux' does not name a type

Comment by Rory Retterer on March 16, 2013 at 8:33am

That worked great Tom thanks!


Admin
Comment by Thomas J Coyle III on March 16, 2013 at 7:51am

@Rory,

For those of you who want to compile and use the latest ArduRover V2.30 alpha code, here is what you need to do:

1) Download the ArduPilot version of the Arduino IDE 1.0.3 per this link: http://code.google.com/p/ardupilot-mega/downloads/detail?name=ArduP...

2) Run the ArduPilot IDE 1.0.3 and, using "ArduPilot" in the header bar, select the correct HAL Board from the drop down menu. Then restart the ArduPilot IDE.

3) Load in the latest V2.30 Sketch. The ArduRover Sketch code must reside in the same root directory as the ArduPilot IDE.

4) There is no need to define your APM configuration anywhere in the ArduRover code. The HAL Board drop down menu will do it for you.

5) Now run the compiler and you should have no problem with the compile. Don't forget that the lastest ArduPilot libraries must be in the same Sketch folder as the ArduRover2 folder: ie ArduRover_v230_firmware/ArduRover2 and ArduRover_v230_firmware/libraries. Remember, ArduRover_v230_firmware must be in the same root directory as the ArduPilot IDE.

Hope this helps.

Regards,

TCIII

Comment by Rory Retterer on March 15, 2013 at 7:27pm

Tom I cannot get this to verify:  ArduRover2 V2.30 alpha code.


Admin
Comment by Thomas J Coyle III on March 15, 2013 at 5:48am

Hi All,

Tridge, Linus and I have been updating the ArduRover2 code so I am attaching the latest version of the ArduRover2 V2.30 alpha code.

Testing conducted with the Sharp IR sensor attached to the Oilpan Airspeed sensor input has determined that this is not going to work reliably. The fall back position will be to use the Ateml processor ADC. The processor ADC works very reliably with the Sharp IR sensor and will allow sensors with a 0 - 5vdc output to be used for obstacle detection. Instructions for attaching an IR sensor to the Atmel processor can be found here in the Wiki: http://code.google.com/p/ardurover/wiki/IRSensor If you are using the Sharp medium range (150cm) IR sensor then you should use the following values for the sonar: Sonar_Pin 0, Sonar_Constant 0.63, Sonar_Offset 0, and Sonar_Function 2.

The latest alpha code now contains code for skid steering, but you need to use it at your own risk. The first two channels (1 & 2) on the APM output now control one motor each. Tridge has added two new parameters:

SKID_STEER_IN=0 or 1
SKID_STEER_OUT=0 or 1

They control if skid steering is used for input and output. If enabled,
then it assumes that channel 1 is the left motor and channel 2 is the
right motor.

TCIII

Update 3/15/2013

ArduRover_v230_firmware_20130315SS1.zip

Comment by Bot Thoughts on March 14, 2013 at 10:04am

AVC 2013 info posted! https://avc.sparkfun.com/2013

Comment by saba on March 14, 2013 at 2:37am

thanks Thomas

this discussion have informative links. pl clear me about the firmware. i need 2 output channel (1 & 3 as defined in ardurover google group document). in my setup channel1 output is there but at channel 3, no output. my firmware is ArduRover_v230_firmware_20120222. so pl guide me for the part of code for output assignment or any other firmware.

thanks alot

 
 
 

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

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service