Skip to content

Commit

Permalink
Fix test errors (#132)
Browse files Browse the repository at this point in the history
* Add continue clause to the unsupported device/platform exceptions so we don't try any further tests with them

* Fix URDF parameters so the source CI passes with the axis cameras
  • Loading branch information
civerachb-cpr authored Dec 17, 2024
1 parent 5cce18b commit 6b7f554
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions clearpath_generator_common/test/test_generator_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ def test_samples(self):
rlg.generate()
except UnsupportedAccessoryException as e:
print(f'Unsupported accessory: {e}. Skipping')
continue
except UnsupportedPlatformException as e:
print(f'Unsupported platform: {e}. Skipping')
continue
except Exception as e:
errors.append("Sample '%s' failed to load: '%s'" % (
sample,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<robot xmlns:xacro="http://wiki.ros.org/xacro">
<xacro:macro name="axis_dome_fixed" params="prefix parent topic stand_height:=0.062 *origin">
<xacro:macro name="axis_dome_fixed" params="prefix parent stand_height:=0.062 *origin">
<link name="${prefix}_base_link">
<inertial>
<origin xyz="0 0 0" rpy="0 0 0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<robot xmlns:xacro="http://wiki.ros.org/xacro">
<xacro:macro name="axis_dome_ptz" params="prefix parent topic stand_height:=0.062 *origin">
<xacro:macro name="axis_dome_ptz" params="prefix parent stand_height:=0.062 *origin">
<link name="${prefix}_base_link">
<inertial>
<origin xyz="0 0 0" rpy="0 0 0" />
Expand Down

0 comments on commit 6b7f554

Please sign in to comment.