Skip to content

Commit

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

Signed-off-by: Aleksander Szymański <[email protected]>

* added macros in xacro robot description for mecanum wheels

Signed-off-by: Aleksander Szymański <[email protected]>

* added flag for choosing the wheel model in launch files

Signed-off-by: Aleksander Szymański <[email protected]>

* remove redundant flags from xacro command

Signed-off-by: Aleksander Szymański <[email protected]>

* added mecanum_wheels param to leo_sim macro

Signed-off-by: Aleksander Szymański <[email protected]>

* added argument for mecanum wheels in leo_sim urdf file

Signed-off-by: Aleksander Szymański <[email protected]>

---------

Signed-off-by: Aleksander Szymański <[email protected]>
  • Loading branch information
Bitterisland6 authored Oct 30, 2023
1 parent 5ab5cd1 commit 847afe8
Show file tree
Hide file tree
Showing 8 changed files with 2,597 additions and 15 deletions.
4 changes: 3 additions & 1 deletion leo_description/launch/description.launch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

<arg name="model" default="$(find leo_description)/urdf/leo.urdf.xacro"/>

<arg name="mecanum_wheels" default="false"/>

<param name="robot_description"
command="xacro --inorder $(arg model)"/>
command="xacro $(arg model) mecanum_wheels:=$(arg mecanum_wheels)"/>

</launch>
6 changes: 5 additions & 1 deletion leo_description/launch/state_publisher.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<launch>

<include file="$(find leo_description)/launch/description.launch"/>
<arg name="mecanum_wheels" default="false"/>

<include file="$(find leo_description)/launch/description.launch">
<param name="mecanum_wheels" value="$(arg mecanum_wheels)"/>
</include>

<node name="robot_state_publisher"
pkg="robot_state_publisher"
Expand Down
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 847afe8

Please sign in to comment.