loading
 
Motors run after I close RR
Anonymous
2 years
Hi,
I am working on object tracking. All i am doing is when the object is detected, the motors  for going forward switch on etc. I am using Sparkfun_arduino module to get the PWM!!

The issue is when i quit RR one of the motor starts rotating at full speed (I am using BLDC motors), i am unable to debug that, could you tell me what the issue is. Plz help!!

Thanks in advance!!
Steven Gentner from United States  [1371 posts] 2 years
When RR disconnects with the Arduino the motors are set to neutral to avoid the problem you are describing. This number is 1500 and set in the g_defaultServo array in the Arduino Sketch. Most likely, this default servo number isn' the right one for your motors. You will need to modify the Arduino Sketch to include a number that does make sense for your motors ... i.e. change that value to what you motors consider neutral.

Note this is a change to the Arduino code and NOT RoboRealm.

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index