|
Re: The unplanned circle dance
If the robot is normal in auto, but spins in teleop, it may be that the joysticks were not centered when they were plugged in or when the DS was opened. Modern joysticks have a great feature where they take their current setting as zero when the SW opens a connection. While this auto-trimming feature helps with old joysticks, it isn't limited, and can result in a robot that drives itself when hands are off the joystick. The default dashboard may help diagnose, as it would show the value being sent to the motors and read from the joystick. To correct this in a match, you unplug the joystick, plug it in again, and hit the F1 key. This would present itself the entire match and wouldn't just show up partway through.
A robot that spins during auto but not during tele may be due to a faulty sensor, sensor connection, or sensor calibration. Mess with robot reference point and oh how they spin. The sensor could also be used in tele, but since they often aren't, ...
Of course I've also seen plenty robots spin when a chain comes off, wheel gets a game object caught in it, etc. I am not claiming that this pertains to any of these cases, but numerous times, the team assumed field caused it until they actually inspected the robot. The PWM cable or digital breakout cable can cause similar symptoms.
Greg McKaskle
|