|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: HELP!
The blue text will often tell you why an error occurred.
That error code is generated when the safety system is enabled and the code has not updated the motors in 100ms. The safety system, which is only enabled for RobotDrive motors by default assumes that your code should update at that rate, and if not, it is an error and the motors should be set to zero speed. It is actually pretty easy to get this in auto the robot pauses, sets the motors to zero and sits there. In that case it does no harm. If you are seeing this in teleop, it probably indicates that your code is directly performing some action in teleOp that takes longer than 100ms. If you describe what mode the robot is in, or when the error occurs, I can give more advice on getting rid of it. Greg McKaskle |
|
#2
|
|||
|
|||
|
Re: HELP!
I get the same thing in teleop when I drive the robot at full speed. All my code is default and safety config is in the begin enabled. THe robot keeps operating the way it should; I just want to make sure that I am not affecting the performance for the robot . The robot just keeps moving
|
|
#3
|
||||
|
||||
|
Re: HELP!
Quote:
|
|
#4
|
||||
|
||||
|
Re: HELP!
I too am getting this error, with stock code. using mecanum 4 motor. We are using PWM to control tallons, but when you dig in to the code apparenty it is set up for jaguars with CAN, so says our lead programmer.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|