We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directions:
Currently to run the configuration of the odrive, here is what the process looks like:
odrivetool
import sys sys.path.insert(1, "/home/nvidia/amber_robot/odrive") # 0 is the odrivetool script path, 1 is the place we want to put our package import setup
old_setup.py
setup.setup_axes(odrv0, [odrv0.axis0, odrv0.axis1])
setup.setup_sensorless(odrv0.axis1)
As of right now, anytime you change a value in the old_setup.py, you have to reimport the module, which is not ideal.
Instead, we want to write a class that instantiates odrive and axis objects and configured the file whenever you run setup.py
odrive
axis
use the following example for reference
https://github.com/AustinOwens/robodog/blob/main/odrive/configs/odrive_hoverboard_config.py
Make sure you DO NOT change any of the configuration itself. Simply just reorganize the code.
Create a new branch streamlined_odrive_config and do all changes there
streamlined_odrive_config
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Directions:
Currently to run the configuration of the odrive, here is what the process looks like:
odrivetool
in the terminalold_setup.py
The goal
As of right now, anytime you change a value in the
old_setup.py
, you have to reimport the module, which is not ideal.Instead, we want to write a class that instantiates
odrive
andaxis
objects and configured the file whenever you run setup.pyodrive
python package directly into the setup.py file, alongside any enums that are useduse the following example for reference
https://github.com/AustinOwens/robodog/blob/main/odrive/configs/odrive_hoverboard_config.py
Make sure you DO NOT change any of the configuration itself. Simply just reorganize the code.
Create a new branch
streamlined_odrive_config
and do all changes thereThe text was updated successfully, but these errors were encountered: