Quote:
Originally Posted by Bryscus
It possibly has to do with loading down the CAN cable driver. I think the total cable length is something like 20' if I remember right. One suggestion was to buy a 20' cable and use it. If you need more, you've used too much.
Read joystick should probably go in Periodic. Continuous will read the joystick as fast as possible. Periodic will read the joystick at precise intervals (200Hz I think). Honestly, in reference to the system response time of "Joystick moved -> Joystick value read -> Joystick value interpreted -> Motor value sent -> Motor starts moving", the moving of the motor is the longest part (by quite a bit).
Running in continuous only makes more requests and sends more control packets (unnecessarily) utilizing more system bandwidth.
- Bryce
|
I agree, and I was looking at the code, and its at 50hz, just in case you where curious, and about the CAN, I guess it can be looked at it just like in Networking, but what I think they may mean about being too long is the distance of wire used between one Jaguar to the next and maybe not meant in total distance, which sounds the same but its not, lol.