teaching:se-kiba15
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
teaching:se-kiba15 [2015/06/12 14:42] – balintbe | teaching:se-kiba15 [2016/05/19 09:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 11: | Line 11: | ||
| | ||
**NOTE:** | **NOTE:** | ||
- | If you have an nvidia or ATI graphics card, make sure that you create a new Docker image that has **exactly the same driver** installed as your system. | + | If you have an nvidia or ATI graphics card, create a new Docker image that has **exactly the same driver** installed as your system. |
cp ~/ | cp ~/ | ||
- | Modify the newly created Dockerfile so that it installs your drivers(examples can be found commented in the template). Build your new image: | + | Modify the newly created Dockerfile so that it installs your drivers(examples can be found commented in the template). Build your new image(name **is important**): |
docker build -t suturo/ | docker build -t suturo/ | ||
Set a flag to signal the system the use of a custom docker image | Set a flag to signal the system the use of a custom docker image | ||
export EUROC_CUSTOM_CONT=true | export EUROC_CUSTOM_CONT=true | ||
| | ||
- | Launch docker: | + | Launch |
dockuro | dockuro | ||
- | **All of the following commands are supposed to be executed | + | **All of the following commands are supposed to be executed |
- | Before you can start hacking, you need to compile the catkin workspace that comes with the docker | + | Before you can start hacking, you need to compile the catkin workspace that comes with the docker |
- | cd catkin_ws | + | cd ~/catkin_ws |
catkin_make | catkin_make | ||
| | ||
To start the experiment run: | To start the experiment run: | ||
/ | / | ||
- | In another terminal run dockuro again and start the simulator by running: | + | In another terminal run dockuro again and start the simulator by running(copy paste both lines together): |
- | rosservice call / | + | rosservice call / |
+ | | ||
| | ||
Publish the joint states of the robot: | Publish the joint states of the robot: | ||
Line 35: | Line 36: | ||
roslaunch pointcloud_publisher run_pointcloud_publisher.launch | roslaunch pointcloud_publisher run_pointcloud_publisher.launch | ||
- | Use rviz to check the camera data and the tf tree. | + | Use rviz to check the camera data and the tf tree. All set. Enjoy! |
| |
teaching/se-kiba15.1434120166.txt.gz · Last modified: 2016/05/19 09:18 (external edit)