A Roboteq controller c++ interface to allow a Brushless motor control on a CAN bus. Used for a FBL2360 reference.
Dependencies: CAN_FIFO_Triporteur
Diff: RoboteqController.h
- Revision:
- 7:33d64a3c48a2
- Parent:
- 6:f9c4795448c1
diff -r f9c4795448c1 -r 33d64a3c48a2 RoboteqController.h --- a/RoboteqController.h Wed Jun 13 09:07:45 2018 +0000 +++ b/RoboteqController.h Mon Jun 25 14:52:57 2018 +0000 @@ -57,6 +57,8 @@ void sendCommand(uint8_t mot_num, uint32_t cmd); + int16_t getSpeed(uint8_t mot_num); + protected: static const uint16_t RPDO_ID[4]; // RPDO msg IDs to send data to the controller