File tree Expand file tree Collapse file tree 4 files changed +21
-15
lines changed
Expand file tree Collapse file tree 4 files changed +21
-15
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,8 @@ More information can be found on the Personal Robotic Lab's website: <https://ww
7171
7272### Estimate gaze from ROSBag
73731 ) ` roscore `
74- 1 ) ` rosbag play --clock /path/to/rosbag.bag `
75- 1 ) ` rosrun image_transport republish compressed in:=/kinect2/hd/image_color_rect raw out:=/kinect2/hd/image_color_rect `
76- 1 ) ` roslaunch rt_gene estimate_gaze.launch `
74+ 1 ) ` roslaunch rt_gene start_rosbag.launch rosbag_file:=/path/to/rosbag.bag ` (this assumes a recording with the Kinect v2 and might need adjustments)
75+ 1 ) ` roslaunch rt_gene estimate_gaze.launch ros_frame:=kinect2_nonrotated_link `
7776
7877## List of libraries
7978- ROS; [ BSD 3-clause] ( https://opensource.org/licenses/BSD-3-Clause ) , [ Link to website] ( http://ros.org/ )
Original file line number Diff line number Diff line change 1+ <launch >
2+ <arg name =" rosbag_file" />
3+ <node name =" republish_rgb" type =" republish" pkg =" image_transport" args =" compressed in:=/kinect2/hd/image_color_rect raw out:=/kinect2/hd/image_color" />
4+
5+ <node pkg =" rosbag" type =" play" name =" player" args =" --clock $(arg rosbag_file)" output =" screen" />
6+ </launch >
7+
Original file line number Diff line number Diff line change 11<launch >
2- <arg name =" video_namespace" default =" /kinect2/hd" />
3- <arg name =" video_image_topic" default =" image_color" />
4- <arg name =" video_info_topic" default =" camera_info" />
5- <arg name =" camera_name" default =" kinect2" />
6- <arg name =" video_file" default =" /home/tobias/video.mov" />
7- <arg name =" camera_info_url" default =" file:///home/tobias/kinect2.yaml" />
2+ <arg name =" video_namespace" default =" /kinect2/hd" />
3+ <arg name =" video_image_topic" default =" image_color" />
4+ <arg name =" video_info_topic" default =" camera_info" />
5+ <arg name =" camera_name" default =" kinect2" />
6+ <arg name =" video_file" default =" /home/tobias/video.mov" />
7+ <arg name =" camera_info_url" default =" file:///home/tobias/kinect2.yaml" />
88
99 <node pkg =" video_stream_opencv" type =" video_stream" name =" $(arg camera_name)_stream" output =" screen" >
1010 <remap from =" camera" to =" $(arg video_namespace)/$(arg video_image_topic)" />
Original file line number Diff line number Diff line change 22 <arg name =" camera_port" default =" /dev/video0" />
33 <arg name =" camera_info_name" default =" webcam_blue_26010230.yaml" />
44
5- <arg name =" video_namespace" default =" /kinect2/hd" />
6- <arg name =" video_image_topic" default =" image_color" />
7- <arg name =" video_info_topic" default =" camera_info" />
5+ <arg name =" video_namespace" default =" /kinect2/hd" />
6+ <arg name =" video_image_topic" default =" image_color" />
7+ <arg name =" video_info_topic" default =" camera_info" />
88
9- <arg name =" rgb_frame_id" default =" /kinect2_link" />
10- <arg name =" rgb_frame_id_ros" default =" /kinect2_ros_frame" />
11- <arg name =" publish_ros_static_frame" default =" True" />
9+ <arg name =" rgb_frame_id" default =" /kinect2_link" />
10+ <arg name =" rgb_frame_id_ros" default =" /kinect2_ros_frame" />
11+ <arg name =" publish_ros_static_frame" default =" True" />
1212
1313 <node pkg =" tf2_ros" type =" static_transform_publisher" name =" ros_static_transform_publisher"
1414 args =" 0.0 0.0 0.0 -0.5 0.5 -0.5 0.5 $(arg rgb_frame_id_ros) $(arg rgb_frame_id)" if =" $(arg publish_ros_static_frame)" />
You can’t perform that action at this time.
0 commit comments