Skip to content

Commit

Permalink
fixed to use xacro.load_yaml (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
soblin authored Mar 9, 2023
1 parent d9022ee commit a1f5993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion awsim_sensor_kit_description/urdf/sensor_kit.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</link>

<!-- sensor -->
<xacro:property name="calibration" value="${load_yaml('$(arg config_dir)/sensor_kit_calibration.yaml')}"/>
<xacro:property name="calibration" value="${xacro.load_yaml('$(arg config_dir)/sensor_kit_calibration.yaml')}"/>

<!-- lidar -->
<xacro:VLS-128 parent="sensor_kit_base_link" name="velodyne_top" topic="/points_raw" hz="10" samples="220" gpu="$(arg gpu)">
Expand Down
2 changes: 1 addition & 1 deletion awsim_sensor_kit_description/urdf/sensors.xacro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<robot name="vehicle" xmlns:xacro="http://ros.org/wiki/xacro">
<xacro:arg name="config_dir" default="$(find awsim_sensor_kit_description)/config"/>
<xacro:property name="calibration" value="${load_yaml('$(arg config_dir)/sensors_calibration.yaml')}"/>
<xacro:property name="calibration" value="${xacro.load_yaml('$(arg config_dir)/sensors_calibration.yaml')}"/>

<!-- sensor kit -->
<xacro:include filename="sensor_kit.xacro"/>
Expand Down

0 comments on commit a1f5993

Please sign in to comment.