|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Robot Losing Communication when strafing right
I suspect that your digital sidecar isn't properly powered. It gets some power through the DB-37 cable, but not enough to send a full speed PWM to 4 motors. Assuming that your right motors are inverted in code, a left turn is minimum PWM to all motors and a right turn is full PWM to all motors.
Disconnect the DB-37 cable from the digital sidecar and make sure that all 3 power LEDs are brightly lit. Have you solved your mechanical problems from your previous thread? |
|
#2
|
||||
|
||||
|
Re: Robot Losing Communication when strafing right
Quote:
As to luckof13, yes the voltage regulator is correct, the voltage drops from ~12.43ish to ~11.5ish then spikes back up to the original voltage. |
|
#3
|
||||
|
||||
|
Re: Robot Losing Communication when strafing right
All 3 LEDs are powered on.
I wouldn't say that losing communication is the best way to describe it. It just stops moving. The driver station is all green and the robot is all green. Jaguars are blinking. It doesn't take any inputs after it "dies". We need to disable teleop and then reenable teleop to get it to take inputs. The Dashboard is showing that the joystick is still giving an input after the "death". |
|
#4
|
|||
|
|||
|
Re: Robot Losing Communication when strafing right
perhaps your code is crashing ? check netconsole and try to find a minimal test case.
|
|
#5
|
||||
|
||||
|
Re: Robot Losing Communication when strafing right
I wouldn't know why the code would be crashing? We loaded a WPILib built mecanum program. I'll check later.
Would I need to use a filter capacitor or two to get rid of glitches if that's the case? Well the problem was that we inverted the motors mechanically and it hurt the robotdrive. We inverted it in code and it works fine. Last edited by xXhunter47Xx : 01-02-2014 at 17:42. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|