Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# 👨‍💻 ros2_system_manager
ros2 system manager for your robot

Make 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
```