Skip to content

Releases: dylanballback/ODriveCan

V0.1.03

Choose a tag to compare

@dylanballback dylanballback released this 11 Apr 00:08

Fix fet/motor temp in ODrive class

Add FET/Motor Temp recording in database

Choose a tag to compare

@dylanballback dylanballback released this 10 Apr 18:40

Add automatic recoding and storing of motor and FET temp data from O-Drive.

  • Updated O-Drive database to store this data and method which automatically scans the can messages and updates the temps if the cyclic msg rate is set for Get_Temperatures on your O-Drive.

V0.1.01

Choose a tag to compare

@dylanballback dylanballback released this 05 Apr 00:32

Add method for Reboot, Save/Erase Config, and Enter DFU with CAN

Method to check axis state.

Added CAN Bit Rate variable into class instead of the hard coded 250000.

Add Trajectory Control Methods

Choose a tag to compare

@dylanballback dylanballback released this 29 Mar 23:12

Adding methods to use and set Trajectory Control limits, along with a new method to set vel and current limits through CAN Bus.

Fix can bus shutdown

Choose a tag to compare

@dylanballback dylanballback released this 27 Mar 02:35

fixed can bus shutdown method and add time out for setting axis state, along with getting rid of duplicate clear can buffer inside of the init method.

Update Examples with comments and add doc strings to odrive class

Choose a tag to compare

@dylanballback dylanballback released this 26 Feb 04:28

update examples add more comments explaining the functionality for one odrive control vs two or more odrive control, and add docstrings to explain run and loop methods and when to use each method.

update can interface setup, can dump check, and reset.

Choose a tag to compare

@dylanballback dylanballback released this 26 Feb 02:26

Fixed it so can interface checks and doesn't auto reset and reset the can interface every time.

fixed can interface setup can dump method

Choose a tag to compare

@dylanballback dylanballback released this 26 Feb 01:39

Fixed minor error in the can dump method for checking if the can interface was already set up.

update can interface setup to reduce redundant setups

Choose a tag to compare

@dylanballback dylanballback released this 26 Feb 01:16

Updated the CAN interface setup that runs when an instance is created to check if the Raspberry Pi's CAN interface has already been set up.
Last release it would just detect the network busy and shut down the network, reset it, and then set it back up again.
This release will check using the CAN dump if the can interface is already set up.

Add auto setup Raspberry Pi CAN Bus interface on instance creation

Choose a tag to compare

@dylanballback dylanballback released this 26 Feb 00:25

Added in method to set up the can interface on the Raspberry Pi so that the user doesn't have to run this command or bash script before being able to use the pyodrivecan package.

This will check if the can0 interface on the Raspberry Pi has been set up already or if there are any errors. If it hasn't been setup it will automatically set it up for the user to enable the CAN communication with the O-Drive. If there are any errors detected it will shut down the interface, reset it, and then reinitialize it until it is successfully set up.

This will remove an extra step a user would have to perform to use their own Raspberry Pi with a CAN Hat to control an O-Drive.