Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
smarthome:xaal_ros_pepper [2018/03/09 14:25] jzhu [Running the Demo] |
smarthome:xaal_ros_pepper [2018/03/09 14:51] jzhu [Running the Demo] |
||
---|---|---|---|
Line 7: | Line 7: | ||
- | - To start the fall detection with kinect, please plug the USB cable of Kinect into the left USB port of the computer | + | - 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 &": |
<code>roscore | <code>roscore | ||
rosrun openni_tracker openni_tracker | rosrun openni_tracker openni_tracker | ||
Line 14: | Line 14: | ||
</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 42: | Line 51: | ||
<code>cd /home/user/P204/nao_xaal/ | <code>cd /home/user/P204/nao_xaal/ | ||
python controller.py</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 ===== |