-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added x500 model with frontfacing and downfacing lidar
- Loading branch information
1 parent
536305a
commit d912ed8
Showing
6 changed files
with
129 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0"?> | ||
<model> | ||
<name>x500_lidar_down</name> | ||
<version>1.0</version> | ||
<sdf version="1.9">model.sdf</sdf> | ||
<author> | ||
<name>Claudio Chies</name> | ||
<email>[email protected]</email> | ||
</author> | ||
<description>An x500 a lidar pointing down.</description> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<sdf version='1.9'> | ||
<model name='x500_lidar_down'> | ||
<self_collide>false</self_collide> | ||
<include merge='true'> | ||
<uri>x500</uri> | ||
</include> | ||
<joint name="lidar_sensor_joint" type="fixed"> | ||
<parent>base_link</parent> | ||
<child>lidar_sensor_link</child> | ||
</joint> | ||
<link name="lidar_sensor_link"> | ||
<pose relative_to="base_link">0 0 -0.05 0 1.57 0</pose> | ||
<inertial> | ||
<mass>0.001</mass> | ||
<inertia> | ||
<ixx>0.00001</ixx> | ||
<iyy>0.00001</iyy> | ||
<izz>0.00001</izz> | ||
<ixy>0.0</ixy> | ||
<ixz>0.0</ixz> | ||
<iyz>0.0</iyz> | ||
</inertia> | ||
</inertial> | ||
<sensor name='lidar' type='gpu_lidar'>" | ||
<pose>0 0 0 3.14 0 0</pose> | ||
<update_rate>50</update_rate> | ||
<ray> | ||
<scan> | ||
<horizontal> | ||
<samples>1</samples> | ||
<resolution>1</resolution> | ||
<min_angle>0</min_angle> | ||
<max_angle>0</max_angle> | ||
</horizontal> | ||
<vertical> | ||
<samples>1</samples> | ||
<resolution>1</resolution> | ||
<min_angle>0</min_angle> | ||
<max_angle>0</max_angle> | ||
</vertical> | ||
</scan> | ||
<range> | ||
<min>0.1</min> | ||
<max>100.0</max> | ||
<resolution>0.01</resolution> | ||
</range> | ||
</ray> | ||
<always_on>1</always_on> | ||
<visualize>true</visualize> | ||
</sensor> | ||
</link> | ||
</model> | ||
</sdf> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0"?> | ||
<model> | ||
<name>x500_lidar_front</name> | ||
<version>1.0</version> | ||
<sdf version="1.9">model.sdf</sdf> | ||
<author> | ||
<name>Claudio Chies</name> | ||
<email>[email protected]</email> | ||
</author> | ||
<description>An x500 a lidar pointing to the front for collision prevention</description> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<sdf version='1.9'> | ||
<model name='x500_lidar_front'> | ||
<include merge='true'> | ||
<uri>x500</uri> | ||
</include> | ||
<link name="lidar_sensor_link"> | ||
<pose relative_to="base_link">0.3 0 0.01 0 0 0</pose> | ||
<inertial> | ||
<mass>0.001</mass> | ||
<inertia> | ||
<ixx>0.00001</ixx> | ||
<iyy>0.00001</iyy> | ||
<izz>0.00001</izz> | ||
<ixy>0.0</ixy> | ||
<ixz>0.0</ixz> | ||
<iyz>0.0</iyz> | ||
</inertia> | ||
</inertial> | ||
<sensor name='lidar' type='gpu_lidar'>" | ||
<pose>0 0 0 1.57 0 0</pose> | ||
<update_rate>50</update_rate> | ||
<ray> | ||
<scan> | ||
<horizontal> | ||
<samples>1</samples> | ||
<resolution>1</resolution> | ||
<min_angle>0</min_angle> | ||
<max_angle>0</max_angle> | ||
</horizontal> | ||
<vertical> | ||
<samples>1</samples> | ||
<resolution>1</resolution> | ||
<min_angle>0</min_angle> | ||
<max_angle>0</max_angle> | ||
</vertical> | ||
</scan> | ||
<range> | ||
<min>0.1</min> | ||
<max>100.0</max> | ||
<resolution>0.01</resolution> | ||
</range> | ||
</ray> | ||
<always_on>1</always_on> | ||
<visualize>true</visualize> | ||
</sensor> | ||
</link> | ||
<joint name="lidar_sensor_joint" type="fixed"> | ||
<parent>base_link</parent> | ||
<child>lidar_sensor_link</child> | ||
</joint> | ||
</model> | ||
</sdf> |