-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb46ede
commit b43dc0b
Showing
23 changed files
with
196 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
|
||
topic_name_kinect_cloud: "/camera/depth_registered/points" | ||
topic_name_rgbd_cloud: "/camera/depth_registered/points" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<launch> | ||
|
||
<!-- This is for launching Asus rgbd-camera. | ||
This is also a replacement of the following operations: | ||
$ roslaunch openni2_launch openni2.launch | ||
$ rosrun rqt_reconfigure rqt_reconfigure | ||
Select camera/driver, set "depth_registration" to true | ||
(Optional: Set "color_depth_synchronization" to true.) | ||
--> | ||
|
||
<include file="$(find openni2_launch)/launch/openni2.launch"> | ||
<arg name="depth_registration" default="true" /> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<launch> | ||
<!-- <node type="rviz" name="rviz" pkg="rviz" args="-d $(find scan3d_by_baxter)/config/rviz_pc_only.rviz" /> --> | ||
<node type="rviz" name="rviz" pkg="rviz" args="-d $(find scan3d_by_baxter)/config/rviz_pc_only.rviz" /> | ||
<!-- <node type="rviz" name="rviz" pkg="rviz" args="-d $(find scan3d_by_baxter)/config/rviz_with_baxter.rviz" /> --> | ||
<node type="rviz" name="rviz" pkg="rviz" args="-d $(find scan3d_by_baxter)/config/rviz_Asus.rviz" /> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<launch> | ||
|
||
<!-- not implemented yet --> | ||
|
||
<!-- <param name="topic_name_rgbd_cloud" value="/camera/depth_registered/points" /> | ||
<param name="file_folder" value="$(find scan3d_by_baxter)/data_debug/" /> | ||
<param name="file_name_to_save" value="sample_cloud_" /> | ||
<node name="sub_cloud_press_key_to_save" | ||
type="sub_cloud_press_key_to_save" | ||
pkg="scan3d_by_baxter" output = "screen"> | ||
</node> --> | ||
|
||
</launch> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
src_main/camera_calibration/notes_Asus.md → ...main/calib_camera_pose/notes_AsusXtion.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
(I just found there is a Asus camera in the lab, and it is very easy to use! So this notes is not useful anymore.) | ||
|
||
# Camera specifications | ||
RGB:1920 x 1080 @ 30 / 15 FPS | ||
Depth:512 x 424 @ 30 FPS、16bit (mm) | ||
IR cam:512 x 484,30 Hz | ||
FOV: 70° x 60° | ||
Depth range: 0.5–4.5 meters | ||
RGB cam: 1080p 30 Hz (week light: 15 Hz) | ||
|
||
# Tools for using the Kinect One (Kinect v2) in ROS | ||
https://github.com/code-iai/iai_kinect2 | ||
|
||
====== USE ====== | ||
` How to get point clouds | ||
$ roslaunch kinect2_bridge kinect2_bridge.launch | ||
|
||
` How to view | ||
kinect_viewer or rostopic hz | ||
|
||
|
||
====== DEBUG ====== | ||
|
||
`kinect2_bridge is not working / crashing, what is wrong? | ||
|
||
bug1: kinect2_bridge | ||
bug2: libfreenect2 | ||
|
||
` Check libfreenect2 | ||
use this tool: libfreenect2/build/bin/Protonect | ||
|
||
Before running kinect2_bridge please make sure Protonect is working and showing color, depth and ir images | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
|
||
# Open camera | ||
|
||
Run the laptop's usb cam: | ||
{ Method1: | ||
$ rosrun usb_cam usb_cam_node _video_device:=/dev/video0 _pixel_format:=yuyv _camera_name:=tracker_camera | ||
} | ||
{ Method2: Use uvc_camera. | ||
$ rosrun uvc_camera uvc_camera_node _device:=/dev/video0 # remember to remap | ||
} | ||
|
||
See camera info: | ||
$ rostopic echo -n 1 /usb_cam/camera_info | ||
|
||
Before calibration, all params are zero. | ||
|
||
# Calibrate | ||
http://wiki.ros.org/camera_calibration/Tutorials/MonocularCalibration | ||
|
||
$ rosrun camera_calibration cameracalibrator.py --size 9x7 --square 0.0158 image:=/usb_cam/image_raw camera:=/usb_cam | ||
|
||
Data (calibration data and images used for calibration) will be written to /tmp/calibrationdata.tar.gz. | ||
|
||
# Load calibration result | ||
|
||
Copy calibration result to some folder. | ||
|
||
Run the camera driver with a url to the calib result: | ||
$ rosrun camera_calibration cameracalibrator.py --size 9x7 --square 0.0158 image:=/usb_cam/image_raw camera:=/usb_cam camera_info_url:=/home/feiyu/tmp/my_laptop_cam_calib_result | ||
|
||
Run image proc: | ||
$ ROS_NAMESPACE=usb_cam rosrun image_proc image_proc |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.