-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·62 lines (59 loc) · 1.8 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3.3"
services:
##############################################################
## Container for ROS-Devel Workspace
## command: sudo docker-compose up ros-devel
## Args: - ROS_DISTRIBUTION=kinetic | melodic | noetic
## - BUILD_TYPE= devel | install
##############################################################
ros-devel:
build:
context: .
dockerfile: Dockerfile.ros
args:
- ROS_DISTRIBUTION=kinetic
- BUILD_TYPE=devel
container_name: ros-devel
stdin_open: true
tty: true
network_mode: "host"
environment:
- ROS_DISTRO=kinetic
- LD_LIBRARY_PATH=/opt/vc/lib
- ROS_MASTER_URI=http://192.168.99.219:11311/
- ROS_HOSTNAME=192.168.99.10
- ROS_IP=192.168.99.10
volumes:
- "./src:/root/catkin_ws/src:rw"
- "/opt/vc:/opt/vc:rw"
# ports:
# - "11311:11311"
# - "19997:19997"
# - "9000:9000"
devices:
- /dev/vchiq
# - /dev/input/js0
command: roslaunch /ros-app.launch
##############################################################
## Container raspicam
## command:
## Args: -
##############################################################
raspi-cam-node:
image: dtur3/r3-raspicam
container_name: "raspicam-node"
stdin_open: true
tty: true
network_mode: "host"
environment:
- ROS_DISTRO=kinetic
- LD_LIBRARY_PATH=/opt/vc/lib
- ROS_MASTER_URI=http://192.168.29.219:11311/
- ROS_HOSTNAME=192.168.29.10
- ROS_IP=192.168.29.10
volumes:
- "./src:/root:rw"
devices:
- /dev/vcsm
- /dev/vchiq
command: roslaunch /root/visual_odometry/raspicam_node/launch/camerav2_410x308_30fps.launch enable_raw:=true --wait --screen #raspicam_node camerav2_410x308_30fps.launch --wait --screen