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

636 Members
Join Us!

Before Posting an Issue

Hi All,

Before posting an issue or a problem in the ArduRover Discussion Forum, please check the wiki table of contents, review the firmware release notes in the subforum, and search that subforum for existing answers to your question. Help avoid duplicate threads by finding other members with the same issue and their solution.

When formulating your post, use a descriptive title such as "rover will not navigate to waypoints in the Auto mode" (not "HELP!" or "Problem").

Please include the following information to help diagnose your query:

  • Describe the problem you are having. What is the expected verses the observed behavior?
  • Provide hardware information such as the brand and version of your autopilot, GPS, radio, and compass, as well as any other pertinent details about your rover setup.
  • What version of the APM: ArdurRover2 firmware version are you running?
  • For navigation issues, provide your tlog and/or dataflash log. Click here for instructions on retrieving a dataflash log.

TCIII

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

Join diydrones

Comments are closed.

Comments

  • @Thomas

    Thank you for all of your help so far and I appreciate it. I am new to the arduino program and I am just getting used to it. For the sketch path I am assuming this refers to the directories you talk about in your instructions. I have the ArduRover_v230_firmware_20130321ss2 folder in the same folder or root directory as the ardupilot-arduino-1.0.3-windows folder, and the APMrover2 and libraries folder are both within the ArduRover_v230_firmware_20130321ss2 folder. However I am still having trouble getting it to compile so I can download it to the board. Is there something I have to do to set the path other than ensuring the right board options and port are selected in the program? also, can I compile the sketch without the board being connected? thanks.

  • Afternoon, new to the forum an to the group.  This is my first post on this wall.  Currently working on starting my build on my first Drone which will be a Rover. Built on a Axial SCX10 which is the 2012 Jeep Rubicon Edition.

    Could use some guidance on options regarding my lack of a 3 position switch on my 5 ch transmitter.  I have a thread which can be found....

    http://www.diydrones.com/forum/topics/noob-in-need-of-assistance-un...

    John

  • Admin

    @Austin,

    Please read the instructions below. I know that you have followed most of them, but you need to set up a Sketch path as instructed below. Then all you have to do is select the Sketch from the File Tab and hit the compile button. Make sure that you close, then open the IDE to have the new Sketch path take effect.

    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

  • Hello, I am trying to compile the newest firmware and have never tried doing so through the arduino before. I have the correct version of the program, i have selected the Ardupilot Mega 2x under the ardupilot tab and then restarted the program. Then I went under the tools tab and made sure the right com was selected as well as the right board, and then I went to compile. I got an error which read "variable or field 'run_cli' declared void". I am not sure if I am selecting the right file to open, but it seemed like I did (I opened APM_config.h). Is the program not seeing the board?

  • @Thomas,

    I had emailed MINDSi yesterday night, and got a prompt answer today.  NEW demo files and MINDSi lib files!  The code looks much better.  and works!

    Regards,

    Alan  KM6VV

  • @Thomas,

    I connected my Hitec servo programmer to the inputs, and ran the radio test (another simple program).  It saw it and also my radio.

    I went back over the "advanced" radio code, and found yet more errors!  both in averaging calculations (last point stored doesn't get updated, giving a center of 81 instead of 90), and in some sort of "centering" algorithm, that attempted to use an int for a very large calculation.

    Anyway, it works now. I should have just started from scratch, but I figured if the code had been used, it should at least be a place to start.  Too many assumptions! 

    Thanks for giving me your comments.  I hope to repay the favor.

    Regards,

    Alan KM6VV

  • @Thomas,

    Actually, I just realized that I don't have to be able to read directly from my receiver.   While it would have been nice for testing, I should be able to read from the APM2 like you are doing.

    Alan  KM6VV

  • Admin

    @Alan,

    Have you tried to print the incoming pwm values when you have the receiver hooked to your Arduino? Remember, the pwm values will be in the range from 0 - 180 with 90 being neutral (1500us).

    Regards,

    TCIII

  • @Thomas,

    Well, that's very discouraging.  I'm not about to buy another radio at this time.  An R/C PWM signal should be the same!  I did find two errors in the file.  They had the same pin assignments for both radio and servos.  also a pointer assignment error.  That code never ran! 

    Maybe the timing overlaps on the channels or something.  I really don't have time to figure that out.  I'm running out of plans. 

    Thanks for the insight.

    Alan  KM6VV

  • Admin

    @Lake,

    Glad to hear that you got your APM working. Nice to experience the sweet smell of success. One thing that you could do for me is to go to the Rants and Raves forum: http://www.diydrones.com/forum/categories/diy-drones-rants-and-rave... and describe your positive experience with 3DR customer service. I would greatly appreciate it.

    Regards,

    TCIII

This reply was deleted.

New rover advice

Hi, i am looking to build a new rover, but i need some advice on the chassis. I like the 4wd chassis/tank look and prefer it over the crawler/rc look.are those any good though? most people recommend crawlers.I am looking to get something from banggood, any advice will be highly appreciated. thanks

Read more…
0 Replies

skid steer vehicle steering uncontrollable

Hi all, I have a skid steer robot using a pixhawk cube, one 1x15 roboclaw motor controller and a dagu wild thumper 4 wheel chassis. I have skid steering working so far, testing motor c and motor d tests works as described and the vehicle can be controlled in manual mode. However, upon using any mode other than manual mode the rover wants to shake and pivot on the spot, and it seems the steering PID controller oscillates and these oscillations get larger. i have tried everything but it is still…

Read more…
1 Reply

Traxxas X-Maxx ROVER ESC advice

Hi,I have converted a Traxxas X-Maxx into a rover using the Pixhawk Cube 2 controller kit with a Here GNSS.I swapped out the original X-Maxx remote controller for an X6R receiver and Taranis QX7 radio.latest version of ArduRover firmware installed as of 8/11/18.  The rover has an EZRun Max6 ESC. The problem now is the ESC control over the transition into reverse. The ESC is currently set to it's Running Mode Option 2: "Forward/Reverse with Break", AKA the "Double Click Method".What this mode…

Read more…
0 Replies

Help! No throttle or steering response!

Hi all.I know this is an Adurover group, but Thought I would reach out and try my odds for some help as I'm perplexed by this problem. I have a Traxxas X-Maxx set up with a Pixhawk Cube 2.1 and the Here GPS. I'm using a Tarranis X7 remote controller and a X8R Sbus Receiver. I'm using QGroundControl with the latest, Pixhawk 1.8.0 Firmware with the Generic Rover airframe profile installed. As instructed, I have Steering servo wired into Main 2 and Throttle ESC wired into Main 4. Sensors are…

Read more…
2 Replies