Then it’s probably not the CAN bus loosing connection (could be CAN related in part but probably not a cable that just came off for a second).
Yes, we used a fully charged battery. We have experienced and characterized the issues that occur on the CAN bus when the battery power is low.
A fully charged battery with a Jaguar driving an unloaded window motor should not be having issues. If you’re sure the window motor was not damaged, try another battery in case there’s a subtle issue in the battery. If that still doesn’t help, check the wiring cause that doesn’t sound right at all.
That maybe be just one of the issues or it maybe the whole issue.
The error occurs even when the robot is barely moving. Our driver knew about this issue in the competition yesterday and purposely tried to avoid throwing the weight of the robot around. During no point in the match did he try going full speed forward (actual robot speed, not the speed of the wheels) to full speed reverse. The error mostly occurred when he was trying to turn. Turning does not absorb as much energy as a sudden shift from full forward to backward.
We had a 6 wheel, dropped center tank drive last year. After a few competitions the center wheel actually wore down. When it wore down it was no longer lower than the rest of the tires (it was now 1/8" smaller in diameter). All of the sudden the robot was trying to force all 6 tires to drag across the carpet.
Instant overload. Consider that situation with your robot.
I will again say, however, that mechanical issues with your drive train could be all or part of the problem.
Is there a good value for the automatic ramp that allows us the maximum amount of control possible without causing damage or disablement of the Jaguars? We were unable to find a good value.
Right idea, wrong path. It’s not a value you seek. It’s the speed with which you achieve that value. Current is the flow of energy over a period of time. The higher the current, the more energy you flow in the same period of time (derivative in calculus represents current, the ramping can be integration in calculus). Assuming that all you need is software to fix your problem, which means your drive train draws close to or below 40A normally you need to slowly increase towards your target value.
Basically what you need to figure out is how slowly you need to approach your target values. I can’t tell you this ‘magic’ it depends on your system. I will tell you that if your system has: a mechanical issue, a bad battery, bad high current wiring, or can’t be made to routinely stay near 40A you will have to accept some consequences. If your system draws too much current and you can’t otherwise fix that you can limit how high you turn on the speed controls…but your driving performance might suffer. If your system draws too much current too quickly even with the most modest ramping of the speed controls then you must fix the system.
Again you don’t have to use the automatic ramping, I don’t and it wasn’t available when my team used them.
We write software that basically tries to balance the performance we desire with the beating we’ll be giving to the battery, the electronics, the wiring, the motors and the mechanisms.
Also keep in mind, that if you’re routinely beating on the battery (even if the battery is not bad) it’ll be okay for a short period then cave and it might be before the match ends. That might be why you had this happen at slow speed. All the hits to the battery before that depleted it. You’ve got to consider all the loose ends and it’s tricky.