Skip to content

Commit

Permalink
Add mecanum wheels to description package (#6)
Browse files Browse the repository at this point in the history
* added models for mecanum wheels

Signed-off-by: Aleksander Szymański <bitterisland6@gmail.com>

* added xacro macros for mecanum wheels

Signed-off-by: Aleksander Szymański <bitterisland6@gmail.com>

* added argument for mecanum wheels in robot urdf description

Signed-off-by: Aleksander Szymański <bitterisland6@gmail.com>

* added mecanum_wheels argument in launch file

Signed-off-by: Aleksander Szymański <bitterisland6@gmail.com>

* added wheel outline stl for mecanum wheels

Signed-off-by: Aleksander Szymański <bitterisland6@gmail.com>

* better colision model for mecanum wheels

Signed-off-by: Aleksander Szymański <bitterisland6@gmail.com>

* more informative description of xml argument mecanum_wheels

Signed-off-by: Aleksander Szymański <bitterisland6@gmail.com>

* Add mecanum_wheels param to leo_sim macro

---------

Signed-off-by: Aleksander Szymański <bitterisland6@gmail.com>
Co-authored-by: Błażej Sowa <bsowa123@gmail.com>
  • Loading branch information
Bitterisland6 and bjsowa authored Nov 2, 2023
1 parent 6d70cb7 commit de35d0e
Show file tree
Hide file tree
Showing 7 changed files with 2,595 additions and 14 deletions.
7 changes: 6 additions & 1 deletion leo_description/launch/state_publisher.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
name="model"
default="$(find-pkg-share leo_description)/urdf/leo.urdf.xacro"
description="Absolute path to robot urdf.xacro file" />

<arg
name="mecanum_wheels"
default="false"
description="Flag specifying wheel types of the robot for visualization purposes"/>

<node pkg="robot_state_publisher" exec="robot_state_publisher">
<param name="robot_description" value="$(command 'xacro $(var model)')" />
<param name="robot_description" value="$(command 'xacro $(var model) mecanum_wheels:=$(var mecanum_wheels)')" />
</node>
</launch>
Binary file added leo_description/models/Mecanum_wheel_outline.stl
Binary file not shown.
1,094 changes: 1,094 additions & 0 deletions leo_description/models/WheelMecanumA.dae

Large diffs are not rendered by default.

Loading

0 comments on commit de35d0e

Please sign in to comment.