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
Comments
Hola a todos,gracias por la invitacion al grupo.-Mi interes es poder desarrollar un ARDUROVER,necesito si alguien me puede guiar paso a paso , en como comenzar y que debo comprar ; necesito construir un vehiculo que siga diferentes waypoints y pueda ir tomando datos de sensores con otro modulo ARDUINO y enviarlos a un computador.- desde ya muchisimas gracias.-
I don't know if this helps but it's a program someone wrote that I've held onto for the Arduino. It'll read up to 8 servo channels for you and display them in the serial monitor. I'm sure you could easily modify it for an 16x2 LCD so you wouldn't need a computer.
/*
RC_Serial_Print
by: Russ Sutton
Use this program to display RC Rx Output
signals for easier RC Tx Tunning.
Set serial port to 56700
*/
int ch1 = 0; // Gives digital pin 0 a name
int ch2 = 1; // Gives digital pin 1 a name
int ch3 = 2; // Gives digital pin 2 a name
int ch4 = 9; // Gives digital pin 9 a name
int ch5 = 10; // Gives digital pin 10 a name
int ch6 = 11; // Gives digital pin 11 a name
int ch7 = 12; // Gives digital pin 12 a name
int ch8 = 13; // Gives digital pin 13 a name
unsigned long duration1; // place to record inpulse
unsigned long duration2;
unsigned long duration3;
unsigned long duration4;
unsigned long duration5;
unsigned long duration6;
unsigned long duration7;
unsigned long duration8;
void setup()
{
pinMode(ch1, INPUT); // Tells Aduino pins are inputs
pinMode(ch2, INPUT);
pinMode(ch3, INPUT);
pinMode(ch4, INPUT);
pinMode(ch5, INPUT);
pinMode(ch6, INPUT);
pinMode(ch7, INPUT);
pinMode(ch8, INPUT);
Serial.begin(57600);
}
void loop()
{
duration1 = pulseIn(ch1, HIGH); //records inpulse from RC Rx
duration2 = pulseIn(ch2, HIGH);
duration3 = pulseIn(ch3, HIGH);
duration4 = pulseIn(ch4, HIGH);
duration5 = pulseIn(ch5, HIGH);
duration6 = pulseIn(ch6, HIGH);
duration7 = pulseIn(ch7, HIGH);
duration8 = pulseIn(ch8, HIGH);
Serial.print("CH 1 "); // Prints data to serial port
Serial.print(duration1);
Serial.print(",");
Serial.print(" CH 2 ");
Serial.print( duration2);
Serial.print(",");
Serial.print(" CH 3 ");
Serial.print( duration3);
Serial.print(",");
Serial.print(" CH 4 ");
Serial.println( duration4);
Serial.print(",");
Serial.print(" CH 5 ");
Serial.print( duration5);
Serial.print(",");
Serial.print(" CH 6 ");
Serial.print( duration6);
Serial.print(",");
Serial.print(" CH 7 ");
Serial.print( duration7);
Serial.print(",");
Serial.print(" CH 8 ");
Serial.println( duration8);
Serial.print(" ");
Serial.println(" " );
delay(2000); //changes smaple rate 2000 = 2 seconds
}
@Flavio,
Nice to hear of your success with your boat. Nothing like converging on a perfect solution. I also have found that my throttle cruise value should be around 58 otherwise the E-Maxx will go too fast! I will look in the Advanced Parameters as you suggest.
Regards,
TCIII
@TCIII
Happy to read good progress and a succesfull setup method
I dont have here the boat to point you the slew rate parameter but I'm quite sure it is at the end of the aadvanced parameters in MP, try to search around "R" voices.
A little bugs found on APM startup, my Turnigy marine ESC sometime enter in setup mode instead of normal running mode, I fix it by add a small trim of throttle radio output but it is not normal as it doesnt appear if rx is directly connected to esc. probably during startup amp generate some pwm spike and the esc read them as radio setup mode.
Hi All,
Today I had the first Arduboat field test, 365 mt of auto mode with 11 WP.
FW 2.31 (little mods for boat and for Echosounder readings ).
Still some steering problem at low speed but it is a mechanic problem, I'll fix it increasing rudder dimension.
Parameters are: Cruise Throttle 57 ( I swap two phase and now I have positive value ) Roll P 0.4 I 0 D 0.1
No slew rate or booster.
Hi All,
Can anyone point me to the ArduRover Parameter in the MP that controls the throttle slew rate? Nothing in the Parameter table seems to be a slew rate for the throttle.
Regards,
TCIII
OK, I can use the PWM read function, I've got the other ones covered. Too bad this store is out of stock. I'll look around a bit.
It would make a great PIC or Arduino project, if I had the time! Can't take much to knock out a little code to read a servo and display the pulse width!
Best regards,
Alan
@Alan,
Maybe "analyzer" is a bit optimistic.
Here is what I have: http://www.bphobbies.com/view.asp?id=A0320107&pid=D0736126 which is what you have made reference to in your comment. Works great. Wouldn't be without it. Decodes PWM output into ms and can produce PWM from <1ms to >2ms.
Regards,
TCIII
Regards,
@Thomas,
I see a GWSRMT001 servo tester, but not an "analyzer". Do you have a link, or model number? The tester I see allows you to drive a servo, but it would be nice to have a "meter" for an R/C PWM signal, which I suspect you have.
Regards,
Alan
Hi All,
The IR range is no longer in the Console Window. It appears that Tridge made a change so that it shows up in the sonar test in the CLI test suite. Works great!
Regards,
TCIII