|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Joysticks Laggy/Jerky
We also were having a lag problem with the joysticks, and our best guess is that, while debugging, the code depends on the laptop to run it and since our laptop is really slow, we get a lag. The lag seems to go away when we run the permanent code.
|
|
#2
|
|||
|
|||
|
Re: Joysticks Laggy/Jerky
Tethering seems to help a little, though it's not obviously better. I timed the code. An entire loop of TeleOp periodic only takes about 32ms, so I think that's fine.
Another problem that has been cropping up is that when braking hard or putting load on the motors, the jaguars turn a solid red and the robot stops moving. The connection is fine, and we can ping to robot, but it doesn't move. We're using a CAN-based system, so that may be part of the problem, though I'm not sure. |
|
#3
|
|||
|
|||
|
Re: Joysticks Laggy/Jerky
Are your jaguars in brake or coast mode?
Are you tripping a breaker? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|