Skip to content

Commit

Permalink
fixed astra
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Delicat <[email protected]>
  • Loading branch information
delihus committed May 10, 2024
1 parent c54eaf9 commit e999c15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions test/test_components_xacro.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"LDR06": ["slamtec_rplidar_s3", "laser", "slamtec_rplidar_s3_sensor"],
"LDR13": ["ouster_os1_32", "os_lidar", "ouster_os1_32_sensor"],
"LDR20": ["velodyne_puck", "velodyne", "velodyne_puck_sensor"],
"CAM01": ["orbbec_astra", "orbbec_astra", "orbbec_astra_color"],
"CAM01": ["orbbec_astra", "link", "orbbec_astra_color"],
}


Expand Down Expand Up @@ -135,5 +135,3 @@ def test_all_good_single_components(tmpdir_factory):

for component in components["components"]:
utils.test_component(component, [True, True, True], str(components_config_path))


4 changes: 2 additions & 2 deletions urdf/orbbec_astra.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<child link="${device_namespace}_orbbec_astra_link" />
</joint>

<link name="${device_namespace}_orbbec_astra">
<link name="${device_namespace}_orbbec_astra_link">
<visual>
<origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0" />
<geometry>
Expand Down Expand Up @@ -91,7 +91,7 @@

<link name="${device_namespace}_color_optical_frame" />

<gazebo reference="${device_namespace}_orbbec_astra_link">
<gazebo reference="${device_namespace}_link">
<!-- https://github.com/orbbec/OrbbecSDK_ROS2#all-available-topics -->
<sensor type="camera" name="${ns}${device_namespace}_orbbec_astra_color">
<always_on>true</always_on>
Expand Down

0 comments on commit e999c15

Please sign in to comment.