|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- |
| 3 | +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES |
| 4 | +# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 5 | +# |
| 6 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | +# you may not use this file except in compliance with the License. |
| 8 | +# You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, software |
| 13 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | +# See the License for the specific language governing permissions and |
| 16 | +# limitations under the License. |
| 17 | +# |
| 18 | +# SPDX-License-Identifier: Apache-2.0 |
| 19 | +--> |
| 20 | +<robot name="thor_devkit_realsense_rig_d455" xmlns:xacro="http://www.ros.org/wiki/xacro"> |
| 21 | + <xacro:arg name="robot_namespace" default="/"/> |
| 22 | + <xacro:property name="M_PI" value="3.1415926535897931"/> |
| 23 | + |
| 24 | + <!-- Mount pose of the Thor rig relative to base_link --> |
| 25 | + <link name="base_link"/> |
| 26 | + |
| 27 | + <joint name="base_to_thor_mount" type="fixed"> |
| 28 | + <parent link="base_link"/> |
| 29 | + <child link="thor_mount_link"/> |
| 30 | + <origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0"/> |
| 31 | + </joint> |
| 32 | + |
| 33 | + <link name="thor_mount_link"/> |
| 34 | + |
| 35 | + <!-- Camera indexing corresponds to front (camera0), left (camera1), right (camera2). --> |
| 36 | + <!-- Assume cameras are installed right-side up --> |
| 37 | + <joint name="camera0" type="fixed"> |
| 38 | + <parent link="thor_mount_link"/> |
| 39 | + <child link="camera0_link"/> |
| 40 | + <origin xyz="0.0 0.0475 0.019" rpy="0.0 0.0 0.0"/> |
| 41 | + </joint> |
| 42 | + <link name="camera0_link"/> |
| 43 | + |
| 44 | + <joint name="camera1" type="fixed"> |
| 45 | + <parent link="thor_mount_link"/> |
| 46 | + <child link="camera1_link"/> |
| 47 | + <origin xyz="-0.1225 0.0601 0.019" rpy="0.0 0.0 ${M_PI/2}"/> |
| 48 | + </joint> |
| 49 | + <link name="camera1_link"/> |
| 50 | + |
| 51 | + <joint name="camera2" type="fixed"> |
| 52 | + <parent link="thor_mount_link"/> |
| 53 | + <child link="camera2_link"/> |
| 54 | + <origin xyz="-0.0275 -0.0601 0.019" rpy="0.0 0.0 ${-M_PI/2}"/> |
| 55 | + </joint> |
| 56 | + <link name="camera2_link"/> |
| 57 | + |
| 58 | +</robot> |
0 commit comments