Sign inSign up

thelurps/turtlebot3

By thelurps

Updated over 8 years ago

Turtlebot3 ROS kinetic

Image
0

338

thelurps/turtlebot3 repository overview

start x server (macOS)

MBP:~ thelurps$ export IP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
MBP:~ thelurps$ /usr/X11/bin/xhost + $IP
MBP:~ thelurps$ open -a XQuartz

run container

MBP:~ thelurps$ $CATKIN_WS='~/catkin_ws'
MBP:~ thelurps$ docker run -ti --name turtlebot3 -e DISPLAY=$IP:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v $CATKIN_WS:/root/catkin_ws thelurps/turtlebot3

setup catkin workspace

ros@turtlebot3:~/catkin_ws$ mkdir src
ros@turtlebot3:~/catkin_ws$ catkin_make
ros@turtlebot3:~/catkin_ws$ source devel/setup.bash

connect to container

MBP:~ thelurps$ docker exec -ti turtlebot3 bash

setup env

ros@turtlebot3:~/catkin_ws$ source ~/catkin_ws/devel/setup.bash
ros@turtlebot3:~/catkin_ws$ export TURTLEBOT3_MODEL=waffle

launch gazebo

ros@turtlebot3:~/catkin_ws$ roslaunch turtlebot3_gazebo turtlebot3_world.launch

Tag summary

Content type

Image

Digest

Size

1010.1 MB

Last updated

over 8 years ago

docker pull thelurps/turtlebot3