Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename light_link to bumper_link #151

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions panther_description/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Evaluating [panther_macro.urdf.xacro](./urdf/panther_macro.urdf.xacro) following

There are also links created for user to attach own sensors and components. The purpose of those links is to simplify localization of mounting points. Those are mentioned links:
- `cover_link` at the level of the top surface of rails, located in the center of the robot. Positive `x` axis pointing in front of the robot, positive `z` axis pointing up from the robot, and positive `y` pointing to the left of a robot.
- `front_light_link` in front of the robot, at the height of v-slot of front lights. Exact height is in the middle of the v-slot. Position in `x` axis is the front surface of the v-slot, while in `y` axis it is the center of the robot. Rotation is same as `cover_link`.
- `rear_light_link` analogous to `front_light_link`, but mounted to the back of the robot. This reference frame has positive `x` facing to the back of a robot. Positive `z` is facing up and positive and `y` is facing to the right of a robot.
- `front_bumper_link` in front of the robot, at the height of v-slot of front bumpers. Exact height is in the middle of the v-slot. Position in `x` axis is the front surface of the v-slot, while in `y` axis it is the center of the robot. Rotation is same as `cover_link`.
- `rear_bumper_link` analogous to `front_bumper_link`, but mounted to the back of the robot. This reference frame has positive `x` facing to the back of a robot. Positive `z` is facing up and positive and `y` is facing to the right of a robot.

## Panther specific components configuration

Expand Down
28 changes: 14 additions & 14 deletions panther_description/urdf/body.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -50,37 +50,37 @@

<link name="imu_link" />

<joint name="body_to_front_light_joint" type="fixed">
<joint name="body_to_front_bumper_joint" type="fixed">
<origin xyz="0.362 0.0 0.0" rpy="0.0 0.0 0.0" />
<parent link="body_link" />
<child link="front_light_link" />
<child link="front_bumper_link" />
</joint>

<link name="front_light_link" />
<link name="front_bumper_link" />

<joint name="front_light_to_front_animation_joint" type="fixed">
<joint name="front_bumper_to_front_light_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" />
<parent link="front_bumper_link" />
<child link="front_light_link" />
</joint>

<link name="front_animation_link" />
<link name="front_light_link" />

<joint name="body_to_rear_light_joint" type="fixed">
<joint name="body_to_rear_bumper_joint" type="fixed">
<origin xyz="-0.362 0.0 0.0" rpy="0.0 0.0 ${pi}" />
<parent link="body_link" />
<child link="rear_light_link" />
<child link="rear_bumper_link" />
</joint>

<link name="rear_light_link" />
<link name="rear_bumper_link" />

<joint name="rear_light_to_rear_animation_joint" type="fixed">
<joint name="rear_bumper_to_rear_light_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" />
<parent link="rear_bumper_link" />
<child link="rear_light_link" />
</joint>

<link name="rear_animation_link" />
<link name="rear_light_link" />

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