To install the library run:
uv install motor_pythonOR
uv install git+https://github.com/TUM-Aries-Lab/motor_python.git@<specific-tag> It's super easy to publish your own packages on PyPI. To build and publish this package run:
- Update the version number in pyproject.toml and imu_module/init.py
- Commit your changes and add a git tag "<new.version.number>"
- Push the tag
git push --tag
The package can then be found at: https://pypi.org/project/motor_python
"""Basic docstring for my module."""
from loguru import logger
from motor_python.cube_mars_motor import CubeMarsAK606v3
def main() -> None:
"""Run a simple demonstration."""
motor = CubeMarsAK606v3()
motor.get_status()
motor.set_position(position_degrees=0.0)
if __name__ == "__main__":
main()uv run python -m motor_python├── Test Rig CAD files
│ ├── Foot.3mf
│ ├── Jetson_Mount.3mf
│ ├── Leg_with_2_IMU's.3mf
│ ├── Motor_Case.3mf
│ ├── Rod_Adapter_Jetson.3mf
│ ├── Rod_Adapter_Motor.3mf
│ └── Spool_V2.3mf
├── docs
│ ├── AK60-6 Manual.pdf
│ └── Jetson-Orin-Nano-DevKit.pdf
├── src
│ └── motor_python
│ ├── __init__.py
│ ├── __main__.py
│ ├── cube_mars_motor.py
│ ├── definitions.py
│ ├── examples.py
│ ├── motor_status_parser.py
│ └── utils.py
├── tests
│ ├── __init__.py
│ ├── conftest.py
│ ├── cube_mars_motor_test.py
│ ├── motor_status_parser_test.py
│ └── utils_test.py
├── .dockerignore
├── .gitignore
├── .pre-commit-config.yaml
├── .python-version
├── CONTRIBUTING.md
├── Dockerfile
├── LICENSE
├── Makefile
├── README.md
├── pyproject.toml
├── repo_tree.py
└── uv.lock