Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
smarthome:xaal_ros_pepper [2018/03/09 14:27]
jzhu [Running the Demo]
smarthome:xaal_ros_pepper [2020/07/03 17:33] (current)
mai ↷ Links adapted because of a move operation
Line 3: Line 3:
  
 20180118: Current status naoqi can be imported, and web_video_server can boradbast kinect video and we can see the skeleton on rviz 20180118: Current status naoqi can be imported, and web_video_server can boradbast kinect video and we can see the skeleton on rviz
 +The source address is : https://​redmine.telecom-bretagne.eu/​projects/​xaalros/​repository?​utf8=%E2%9C%93&​rev=pepper
  
 ===== Running the Demo ===== ===== Running the Demo =====
  
 +  ​
   - To start the fall detection with kinect, please plug the USB cable of Kinect into the left USB port of the computer, please make sure that the LED light on the cable of Kinect is green.   - To start the fall detection with kinect, please plug the USB cable of Kinect into the left USB port of the computer, please make sure that the LED light on the cable of Kinect is green.
 Then run in different terminals the following commands or use "​command &":​ Then run in different terminals the following commands or use "​command &":​
Line 14: Line 15:
 </​code>​ </​code>​
 In order to follow the movement of the person, the openni tracker first needs to calibrate the person shown before the camera and extracts the skeleton of the person. To realize this, the user can use a "​surrender"​ posture before the camera to help the process find exactly the position of the skeleton. In order to follow the movement of the person, the openni tracker first needs to calibrate the person shown before the camera and extracts the skeleton of the person. To realize this, the user can use a "​surrender"​ posture before the camera to help the process find exactly the position of the skeleton.
 +
 +To open the web streaming ​   ​
 +  rosrun web_video_server web_video_server
 +    ​
 +and open a browser and go directly to    ​
 +  http://​0.0.0.0:​8080/​stream_viewer?​topic=/​camera/​rgb/​image_color
 +
 +or see all available images on   
 +  http://​0.0.0.0:​8080
  
   - To start the fall detection with sensfloor:   - To start the fall detection with sensfloor:
Line 35: Line 45:
 Only one of the above connection is needed. Only one of the above connection is needed.
  
-  - To connect the Pepper, please first launch the pepper and wait for 2~5 minutes, until is says "on est neckmouque"​. Then please run in another terminal:+  - To connect the Pepper, please first launch the pepper and wait for 2~5 minutes, until it says "on est neckmouque"​. Then please run in another terminal:
 <​code>​roslaunch pepper_bringup pepper_full_py.launch nao_ip:​=10.77.3.19 roscore_ip:​=127.0.0.1</​code>​ <​code>​roslaunch pepper_bringup pepper_full_py.launch nao_ip:​=10.77.3.19 roscore_ip:​=127.0.0.1</​code>​
 Please make sure the IP address of pepper is correct. It can be verified by pressing the chest button of the Pepper one time. Please make sure the IP address of pepper is correct. It can be verified by pressing the chest button of the Pepper one time.
  
-  - To start the controller, ​run in another terminal: +  - To start the controller, ​firstly, goto the corresponding repository. 
-<​code>​cd /​home/​user/​P204/​nao_xaal+<​code>​cd /​home/​user/​P204/​xaalros/scripts/</​code>​ 
-python controller.py</​code>​+Then make sure that your are in the branch "​pepper"​ 
 +<​code>​git branch (see the available branch)  
 +git checkout pepper (goto branch pepper) 
 +</​code>​ 
 +  - Then, run in another terminal: 
 +<​code>​python controller.py</​code>​ 
 + 
 +  - If a falling is detected, the lights will be turned on and an email will be sent to the contact list. In the email there is an IP address of the video stream, please tap on the address to see the actual scene captured by the robot.
  
 ===== Install ===== ===== Install =====
  
  
-  - Install [[ros|ros kinetic]] with command ''​sudo apt-get install ros-kinetic-desktop-full''​. The details can be read here : http://​wiki.ros.org/​kinetic/​Installation/​Ubuntu. ​ You will have created a catkin workspace CATKIN_WS (for instance ~/​catkin_ws)+  - Install [[:ros|ros kinetic]] with command ''​sudo apt-get install ros-kinetic-desktop-full''​. The details can be read here : http://​wiki.ros.org/​kinetic/​Installation/​Ubuntu. ​ You will have created a catkin workspace CATKIN_WS (for instance ~/​catkin_ws)
   - For the kinect. Run:<​code>​   - For the kinect. Run:<​code>​
 sudo apt install ros-kinetic-openni-camera sudo apt install ros-kinetic-openni-camera
  • smarthome/xaal_ros_pepper.1520605674.txt.gz
  • Last modified: 2019/04/25 14:08
  • (external edit)