Name | dynamixel-async JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | High-level Python library for Dynamixel servos with async support |
upload_time | 2025-02-16 05:20:49 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | MIT License
Copyright (c) 2024 Your Name
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. |
keywords |
async
dynamixel
motor
robotics
servo
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Dynamixel-Async
High-level Python library for Dynamixel servos with async support.
## Features
- Async/await support for non-blocking operation
- High-level Pythonic interface
- Automatic model detection and configuration
- Unit conversion (degrees, RPM, etc.)
- Comprehensive error handling
- Support for multiple Dynamixel models
## Installation
```bash
pip install dynamixel-async
```
## Development Setup
1. Clone the repository:
```bash
git clone https://github.com/yourusername/dynamixel-async.git
cd dynamixel-async
```
2. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
```
3. Install development dependencies:
```bash
pip install -e ".[dev]"
```
## Basic Usage
```python
import asyncio
from dynamixel_async import DynamixelController
async def main():
# Create controller instance
controller = DynamixelController(baudrate=57600)
# Connect and scan for servos
await controller.connect()
# Get servo with ID 1
servo = controller.get_servo(1)
if servo:
# Move to 180 degrees
servo.set_position(180.0)
# Wait for movement to complete
await controller.wait_for_servos()
if __name__ == "__main__":
asyncio.run(main())
```
## Project Structure
```
src/
└── dynamixel_async/ # Main package
├── __init__.py # Package initialization
├── constants.py # Constants and enums
├── controller.py # Main controller class
├── servo.py # Servo interface
└── models/ # Servo model definitions
├── __init__.py
├── base.py # Base model class
└── xm430.py # XM430 model implementation
```
## Contributing
1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Run tests: `pytest`
5. Submit a pull request
## License
This project is licensed under the MIT License - see the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "dynamixel-async",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "async, dynamixel, motor, robotics, servo",
"author": null,
"author_email": "Yongjae Won <yongwony@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/7a/19/b84249faa3fd64f31b9c7aa4203759e3883bdc7b0e8c5f44164591139e61/dynamixel_async-0.1.0.tar.gz",
"platform": null,
"description": "# Dynamixel-Async\n\nHigh-level Python library for Dynamixel servos with async support.\n\n## Features\n\n- Async/await support for non-blocking operation\n- High-level Pythonic interface\n- Automatic model detection and configuration\n- Unit conversion (degrees, RPM, etc.)\n- Comprehensive error handling\n- Support for multiple Dynamixel models\n\n## Installation\n\n```bash\npip install dynamixel-async\n```\n\n## Development Setup\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/dynamixel-async.git\ncd dynamixel-async\n```\n\n2. Create and activate a virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate # On Windows: venv\\Scripts\\activate\n```\n\n3. Install development dependencies:\n```bash\npip install -e \".[dev]\"\n```\n\n## Basic Usage\n\n```python\nimport asyncio\nfrom dynamixel_async import DynamixelController\n\nasync def main():\n # Create controller instance\n controller = DynamixelController(baudrate=57600)\n \n # Connect and scan for servos\n await controller.connect()\n \n # Get servo with ID 1\n servo = controller.get_servo(1)\n if servo:\n # Move to 180 degrees\n servo.set_position(180.0)\n \n # Wait for movement to complete\n await controller.wait_for_servos()\n\nif __name__ == \"__main__\":\n asyncio.run(main())\n```\n\n## Project Structure\n\n```\nsrc/\n\u2514\u2500\u2500 dynamixel_async/ # Main package\n \u251c\u2500\u2500 __init__.py # Package initialization\n \u251c\u2500\u2500 constants.py # Constants and enums\n \u251c\u2500\u2500 controller.py # Main controller class\n \u251c\u2500\u2500 servo.py # Servo interface\n \u2514\u2500\u2500 models/ # Servo model definitions\n \u251c\u2500\u2500 __init__.py\n \u251c\u2500\u2500 base.py # Base model class\n \u2514\u2500\u2500 xm430.py # XM430 model implementation\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Run tests: `pytest`\n5. Submit a pull request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details. ",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright (c) 2024 Your Name\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE. ",
"summary": "High-level Python library for Dynamixel servos with async support",
"version": "0.1.0",
"project_urls": {
"Bug Tracker": "https://github.com/yongjaewon/dynamixel-async/issues",
"Documentation": "https://github.com/yongjaewon/dynamixel-async/tree/main/docs",
"Homepage": "https://github.com/yongjaewon/dynamixel-async",
"Repository": "https://github.com/yongjaewon/dynamixel-async.git"
},
"split_keywords": [
"async",
" dynamixel",
" motor",
" robotics",
" servo"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "baa85fd73ca7a2e3a4ed8b28abd3fe31f928ff1229dcc93afe027e1c2c4d5900",
"md5": "b07231f572b2e23baf624c2a299230e7",
"sha256": "1b108bfdd9a2c62c25f2bab97e0dd221f21b750e2448a6cde00d706ce261c914"
},
"downloads": -1,
"filename": "dynamixel_async-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b07231f572b2e23baf624c2a299230e7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 16220,
"upload_time": "2025-02-16T05:20:46",
"upload_time_iso_8601": "2025-02-16T05:20:46.933126Z",
"url": "https://files.pythonhosted.org/packages/ba/a8/5fd73ca7a2e3a4ed8b28abd3fe31f928ff1229dcc93afe027e1c2c4d5900/dynamixel_async-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "7a19b84249faa3fd64f31b9c7aa4203759e3883bdc7b0e8c5f44164591139e61",
"md5": "df9b630c89b3945cbad0a8c199dfa753",
"sha256": "7fc34bef603db990ec4782c5f8327331658ceb17ac597adee04a65c37d090b18"
},
"downloads": -1,
"filename": "dynamixel_async-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "df9b630c89b3945cbad0a8c199dfa753",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 16743,
"upload_time": "2025-02-16T05:20:49",
"upload_time_iso_8601": "2025-02-16T05:20:49.002239Z",
"url": "https://files.pythonhosted.org/packages/7a/19/b84249faa3fd64f31b9c7aa4203759e3883bdc7b0e8c5f44164591139e61/dynamixel_async-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-16 05:20:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yongjaewon",
"github_project": "dynamixel-async",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "dynamixel-async"
}