mirror of
https://github.com/EECS-467-W20-RRRobot-Project/RRRobot.git
synced 2025-08-24 16:52:45 +00:00
specified depth camera posistion
This commit is contained in:
@@ -7,5 +7,5 @@ sensors:
|
|||||||
depth_camera_1:
|
depth_camera_1:
|
||||||
type: depth_camera
|
type: depth_camera
|
||||||
pose:
|
pose:
|
||||||
xyz: [0.875, 0.75, 1.3]
|
xyz: [1.0, 1.2, 1.4]
|
||||||
rpy: [0, 1, 0]
|
rpy: [0, 1.21, 0]
|
||||||
|
@@ -28,6 +28,7 @@ void depth_camera_callback(const sensor_msgs::PointCloud::ConstPtr & cloud_msg)
|
|||||||
float cam_x = 1.0;
|
float cam_x = 1.0;
|
||||||
float cam_y = 1.2;
|
float cam_y = 1.2;
|
||||||
float cam_z = 1.4;
|
float cam_z = 1.4;
|
||||||
|
// rpy = 0 1.21 0
|
||||||
|
|
||||||
// convert from PointCloud to PointCloud2
|
// convert from PointCloud to PointCloud2
|
||||||
sensor_msgs::PointCloud2 cloud2;
|
sensor_msgs::PointCloud2 cloud2;
|
||||||
|
Reference in New Issue
Block a user