You are here

Canbus slave control in duty cycle mode not working correctly

2 posts / 0 new
Last post
Enak
Offline
Last seen: 7 months 2 weeks ago
VESC Original
Joined: 2017-06-29 19:52
Posts: 20
Canbus slave control in duty cycle mode not working correctly

When running 2 VESCs connected by canbus the slave doesn't respond as expected.  Master is set to UART+PPM and set to duty cycle mode and works as expected.  Slave is set up using wizards but does not appear to run in duty cycle control.  I've also tried setting up manually with same result.  Firmware 1.07, 1.08 tested.  Not tried with older versions.

Turning the master by hand results in the slave turning in the opposite direction.  Both run in the correct direction when commanded but the slave appears to be in current control.  E.g. the master is delivering full power but the slave is not.  I have checked the traction control is switched off. I also tried with traction control on but got the same result.

Is this expected behaviour, or should both VESCs run in duty cycle mode when the master is set to duty cycle.

I couldn't find any other settings that seemed relevant to fix the issue although tried changing most of the options.

benjamin
Offline
Last seen: 1 week 4 hours ago
VESC FreeVESC OriginalVESC Platinum
Joined: 2016-12-26 15:20
Posts: 490

I had a quick look, and this is actually a bug in the PPM control mode. I will fix it in the next days and push the updates.