Running the pedestrian detector on Vizzy

From ISRWiki
Revision as of 11:03, 14 May 2015 by Joao avelino (talk | contribs) (Created page with "This a standalone test for pedestrian detector: You can't connect the output of this module to other modules. * Turn on the PC on Vizzy (external button on the waist of Vizzy). ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This a standalone test for pedestrian detector: You can't connect the output of this module to other modules.

  • Turn on the PC on Vizzy (external button on the waist of Vizzy).
  • Connect to the Vizzy by ssh
 ssh vizzy@10.1.3.1
  • Start roscore
 roscore
  • Start a camera (in rgb mode)
 rosrun nodelet nodelet standalone camera1394/driver
  • If the camera is not in rgb mode:
 rosrun dynamic_reconfigure dynparam set /camera1394 video_mode Format0_Mode4 (or 640x480_rgb8 ... not sure)
  • Run the pedestrian detector (you must be in the right folder to use the configuration files)
 roscd pedestrian_detector/
 rosrun pedestrian_detector detector

The detector is now running and publishing to the /pedestriandetector/image topic.

You can view the output of the detector using:

 rosrun image_view image_view image:=/pedestriandetector/image


Make sure your PC know ros master is on Vizzy

 echo $ROS_MASTER_URI

should output: http://10.1.3.1:11311 If it doesn't, then:

 export ROS_MASTER_URI = http://10.1.3.1:11311