Log in

View Full Version : Switch mode in C++


unobtainium-42
20-02-2010, 19:19
Is there a way to change the CANJaguar's mode in realtime like bdc-comm? I would like to switch between current and voltage control. The class does not have such a method and I was wondering why. I could add the function myself, but I thought there might be a reason why there isn't one.

Radical Pi
20-02-2010, 21:33
If you destroy the instance of the CANJaguar class and re-make it you might get it working. CANJaguar has a destructor so it may be meant to do this