Metadata-Version: 2.4
Name: ugv_sdk_py
Version: 0.10.0
Summary: Python bindings for ugv_sdk by Weston Robot & AgileX Robotics (unofficial build)
Home-page: https://github.com/westonrobot/ugv_sdk
Author: Ruixiang Du (Weston Robot), with AgileX Robotics
Author-email: ruixiang.du@westonrobot.com
Maintainer: kyeshmz (unofficial PyPI build)
License: Apache-2.0
Project-URL: Upstream, https://github.com/westonrobot/ugv_sdk
Project-URL: Upstream issues, https://github.com/westonrobot/ugv_sdk/issues
Project-URL: Wheel builds, https://github.com/kyeshmz/ugv_sdk
Platform: Linux
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pybind11
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: maintainer
Dynamic: platform
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# ugv_sdk_py

Python bindings for [ugv_sdk](https://github.com/westonrobot/ugv_sdk), the C++ SDK
for mobile robot platforms by [Weston Robot](https://www.westonrobot.com/) and
[AgileX Robotics](http://www.agilex.ai/). It covers Scout, Hunter, Bunker,
Tracer and Ranger bases over CAN.

The SDK and the Python bindings are the work of Weston Robot and AgileX Robotics:

- Copyright (c) 2020-2024 Weston Robot
- Copyright (c) 2020-2024 AgileX Robotics

This is an unofficial build. Weston Robot and AgileX Robotics do not publish or
maintain it. The wheels are built from the fork at
[kyeshmz/ugv_sdk](https://github.com/kyeshmz/ugv_sdk). The fork changes only
packaging and CI, so it can ship prebuilt Linux wheels (x86_64 and aarch64).
Report SDK bugs and robot support questions
[upstream](https://github.com/westonrobot/ugv_sdk/issues).

## Install

```
pip install ugv-sdk-py
```

## Usage

Bring up the CAN interface first (see the upstream README), then:

```python
import ugv_sdk_py
from ugv_sdk_py import scout_robot

robot = scout_robot.ScoutRobot(ugv_sdk_py.ProtocolVersion.AGX_V2, False)
robot.connect("can0")
robot.enable_commanded_mode()
robot.set_motion_command(0.0, 0.0)
print(robot.get_robot_state().motion_state.linear_velocity)
```

## License

Apache-2.0, the same as upstream. See `LICENSE`.
