Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| user:kserrakh [2018/06/28 08:41] – kserrakh | user:kserrakh [2026/10/22 23:03] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 41: | Line 41: | ||
| - | - Install [[ros|ros kinetic]] | + | - Install [[:ros|ros kinetic]]. The details can be read here : http:// |
| + | sudo sh -c 'echo "deb http:// | ||
| + | sudo apt-key adv --keyserver hkp:// | ||
| + | sudo apt-get install ros-kinetic-desktop-full | ||
| + | </ | ||
| - For the map. Run:< | - For the map. Run:< | ||
| sudo apt-get install ros-kinetic-octomap | sudo apt-get install ros-kinetic-octomap | ||
| Line 95: | Line 99: | ||
| java -jar deltadore.xxd.ipgateway.jar 54321 / | java -jar deltadore.xxd.ipgateway.jar 54321 / | ||
| | | ||
| - | to display local images on the touch screen : | + | to display local images on the touch screen, change in the program serveurhttp.py the HOST variable to input your IP address |
| cd / | cd / | ||
| python serveurhttp.py | python serveurhttp.py | ||
| | | ||
| and open a browser and go directly to | and open a browser and go directly to | ||
| - | http://0.0.0.0:9999 | + | http://your_ip_address:9999 |
| | | ||
| to open the web streaming on the tablet, run in different terminals the following commands or use " | to open the web streaming on the tablet, run in different terminals the following commands or use " | ||
| Line 108: | Line 112: | ||
| rosrun web_video_server web_video_server | rosrun web_video_server web_video_server | ||
| | | ||
| - | run in terminal: | + | Make sure you use the right dialogue.txt and modele_interaction.py, |
| cd / | cd / | ||
| python modele_interaction.py | python modele_interaction.py | ||
| Line 122: | Line 126: | ||
| ===== Installing ===== | ===== Installing ===== | ||
| + | < | ||
| sudo apt-get install ros-kinetic-teleop-twist-keyboard | sudo apt-get install ros-kinetic-teleop-twist-keyboard | ||
| + | </ | ||
| ===== Running ===== | ===== Running ===== | ||
| + | < | ||
| rosrun teleop_twist_keyboard teleop_twist_keyboard.py | rosrun teleop_twist_keyboard teleop_twist_keyboard.py | ||
| + | </ | ||
| ===== Controls ===== | ===== Controls ===== | ||
| See the on-screen instructions: | See the on-screen instructions: | ||
| + | < | ||
| Reading from the keyboard | Reading from the keyboard | ||
| --------------------------- | --------------------------- | ||
| Line 140: | Line 149: | ||
| CTRL-C to quit | CTRL-C to quit | ||
| + | </ | ||
| + | |||
| + | ====== Octomap ====== | ||
| + | General information about OctoMap is available at http:// | ||
| + | ===== Installing ===== | ||
| + | < | ||
| + | sudo apt-get install ros-kinetic-octomap | ||
| + | </ | ||
| + | ===== Running ===== | ||
| + | To create the static map. | ||
| + | Run : | ||
| + | to connect Pepper to ROS (the parameter network_interface needs to be changed according to the network interface with which you connect to the robot Pepper, ie wireless or wired, to check with ifconfig): | ||
| + | < | ||
| + | cd / | ||
| + | roslaunch naoqi_driver.launch nao_ip: | ||
| + | </ | ||
| + | To apply the calibration parameters of the 3D camera : | ||
| + | < | ||
| + | source / | ||
| + | roslaunch extrinsic_calibration register_depth.launch | ||
| + | </ | ||
| + | start Octomap | ||
| + | < | ||
| + | roslaunch octomap_server octomap_mapping.launch | ||
| + | </ | ||
| + | Moving the robot | ||
| + | < | ||
| + | rosrun teleop_twist_keyboard teleop_twist_keyboard.py | ||
| + | </ | ||
| + | To save the map, run: | ||
| + | < | ||
| + | rosrun octomap_server octomap_saver -f / | ||
| + | </ | ||
| + | before **stopping Octomap**. | ||
| + | {{tag> | ||