Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rbonghi/ros2_system_manager
👨💻 python manager for robotics
https://github.com/rbonghi/ros2_system_manager
Last synced: 29 days ago
JSON representation
👨💻 python manager for robotics
- Host: GitHub
- URL: https://github.com/rbonghi/ros2_system_manager
- Owner: rbonghi
- License: gpl-3.0
- Created: 2021-10-06T10:19:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T01:58:49.000Z (over 1 year ago)
- Last Synced: 2024-09-17T01:54:00.522Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 131 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 👨💻 ros2_system_manager
ros2 system manager for your robotMake available in docker shutdown and other system commands directly from ROS2 services
# Test manager
```
docker run -it --rm --network host -v /run/ros2sm.sock:/run/ros2sm.sock rbonghi/ros2_system_manager:latest
```# Develop
Install in dev mode the package
```
sudo -H pip3 install -v -e .
```## Build ros2 package
```
colcon build --symlink-install
```## Build docker
You can test the docker image build the image
```
docker build -t rbonghi/ros2_system_manager:latest .
```## Develop
```
docker run -it --rm --network host -v /run/ros2sm.sock:/run/ros2sm.sock -v $HOME/nanosaur_ws/src/ros2_system_manager:/opt/ros_ws/src/ros2_system_manager rbonghi/ros2_system_manager:latest bash
```# Test
To run a test
```
colcon test --event-handlers console_cohesion+ --return-code-on-test-failure --packages-select ros2_system_manager
```