|
Re: programming for brownout avoidance
If you want to check it each time you update the motors, then doing it in the same place might make sense.
If you are using Command and Control, that is likely in the Drive Controller Code. Otherwise it is likely in the TeleOp code. Unless you are doing it at a slower rate, I wouldn't Periodic Tasks.
Greg McKaskle
|