🧪 add rgb-camera height get
This commit is contained in:
parent
6be89617e7
commit
33413eab29
@ -33,7 +33,7 @@ class CameraHeightMonitor(Node):
|
||||
# 查询从world坐标系到RGB_camera_link的变换
|
||||
# 根据您的系统,可能需要修改坐标系名称
|
||||
transform = self.tf_buffer.lookup_transform(
|
||||
'world', # 目标坐标系(通常是世界坐标系)
|
||||
'vodom', # 目标坐标系(通常是世界坐标系)
|
||||
'RGB_camera_link', # 源坐标系(相机坐标系)
|
||||
rclpy.time.Time()) # 获取最新的变换
|
||||
|
Loading…
x
Reference in New Issue
Block a user