Skip to content

Commit

Permalink
Rviz lights plugin (#111)
Browse files Browse the repository at this point in the history
* basic plugin usage - POC

* add rear animation texture

* fix rviz config

* fix .rviz file
  • Loading branch information
pkowalsk1 authored May 18, 2023
1 parent 91aa9eb commit 40fef3a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion panther_description/rviz/panther.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,4 @@ Window Geometry:
collapsed: true
Width: 1848
X: 1992
Y: 0
Y: 0
16 changes: 16 additions & 0 deletions panther_description/urdf/body.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
</joint>

<link name="front_light_link" />

<joint name="front_light_to_front_animation_joint" type="fixed">
<origin xyz="0.0 0.0 0.0185" rpy="${pi/2} 0.0 ${pi/2}" />
<parent link="front_light_link" />
<child link="front_animation_link" />
</joint>

<link name="front_animation_link" />

<joint name="body_to_rear_light_joint" type="fixed">
<origin xyz="-0.362 0.0 0.0" rpy="0.0 0.0 ${pi}" />
Expand All @@ -66,6 +74,14 @@

<link name="rear_light_link" />

<joint name="rear_light_to_rear_animation_joint" type="fixed">
<origin xyz="0.0 0.0 0.0185" rpy="${pi/2} 0.0 ${pi/2}" />
<parent link="rear_light_link" />
<child link="rear_animation_link" />
</joint>

<link name="rear_animation_link" />

<joint name="body_to_cover_joint" type="fixed">
<origin xyz="0.0 0.0 0.1715" rpy="0.0 0.0 0.0" />
<parent link="body_link" />
Expand Down

0 comments on commit 40fef3a

Please sign in to comment.