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

Scene setup #21

Open
anhtuduong opened this issue May 20, 2023 · 1 comment
Open

Scene setup #21

anhtuduong opened this issue May 20, 2023 · 1 comment
Assignees
Labels
dataset documentation Improvements or additions to documentation enhancement New feature or request

Comments

@anhtuduong
Copy link
Owner

anhtuduong commented May 20, 2023

Table mesh (tavolo) has been added to the robot description to help moveit generate collision detection. This effects:

  • params.py:
'spawn_x' : 0.5,
'spawn_y' : 0.35,
'spawn_z' : 1.75,
  • ros_impedance_controller_ur5.launch:
<node name="spawn_gazebo_model" pkg="gazebo_ros" type="spawn_model" args="-urdf -param $(arg robot_name)/robot_description -model ur5 -x $(arg spawn_x) -y $(arg spawn_y) -z $(arg spawn_z)"/>
  • ur5.urdf.xacro
<xacro:include filename="$(find ur_description)/urdf/inc/tavolo.xacro"/>
<link name="world"/>
<joint name="world_joint" type="fixed">
  <parent link="world"/>
  <child link="base_link"/>
  <!-- <origin xyz="0.5 0.35 1.75" rpy="0 0 0"/> -->
  <origin xyz="0 0 0" rpy="0 0 0"/>
</joint>
  • ur5_controller.py:
# broadcast base world TF
self.broadcaster.sendTransform(self.base_offset, (0.0, 0.0, 0.0, 1.0), Time.now(), '/base_link', '/world')
@anhtuduong anhtuduong self-assigned this May 20, 2023
@anhtuduong anhtuduong added documentation Improvements or additions to documentation enhancement New feature or request dataset labels May 20, 2023
@anhtuduong anhtuduong added the bug Something isn't working label Jun 9, 2023
@anhtuduong
Copy link
Owner Author

anhtuduong commented Jun 9, 2023

@anhtuduong anhtuduong removed the bug Something isn't working label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataset documentation Improvements or additions to documentation enhancement New feature or request
Development

No branches or pull requests

1 participant