https://github.com/fjctp/docker-armhf-ros
Dockerfiles for projects
https://github.com/fjctp/docker-armhf-ros
dockerfile opencv3 raspberry-pi ros
Last synced: about 2 months ago
JSON representation
Dockerfiles for projects
- Host: GitHub
- URL: https://github.com/fjctp/docker-armhf-ros
- Owner: fjctp
- License: gpl-3.0
- Created: 2016-09-20T04:32:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-17T06:13:44.000Z (over 8 years ago)
- Last Synced: 2025-02-01T23:44:44.130Z (4 months ago)
- Topics: dockerfile, opencv3, raspberry-pi, ros
- Language: Shell
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dockerfiles for ROS on Raspberry Pi
## Start ROS server
```bash
docker run -it --rm --net foo --name master fjctp/armhf-ros-kinetic-base roscore
```
## Start publisher/listener (using command tools)
```bash
docker run -it --rm --net foo --name tester \
--env ROS_HOSTNAME=tester \
--env ROS_MASTER_URI=http://master:11311 \
fjctp/armhf-ros-kinetic-base bash
``````bash
rostopic pub /chatter std_msgs/String -r 2 "Do you hear me?"
rostopic echo /chatter
```## Note
- For raspberry pi 2/3 only
- Make sure container's name and hostname match, otherwise ROS nodes cannot exchange message