UR10e python simulator with virtual AIRSKIN
This folder contains necessary files to run the simulation of the UR10e robot with virtual AIRSKIN.
Contents
Installation
The installation is the same as for the adaptive_skin project. Please see the README there.
Code
The documentation PDF can be found in ur10ewithairskin.pdf.
Online documentation is available at lukasrustler.cz/pyur.
Run
- The simulator can be run in two mode:
ROS version - real-time, high-level planners (MoveIt!, …)
Native - much faster than real-time, only low-level control
ROS version
install necessary things and build the workspace
see Installation
run the simulator
in the terminal, run
roslaunch bullet_ros simulation.launch
this will start the simulator and RVIZ with the robot #### Control the robot
to test the connection etc. you can just move the robot in RVIZ and plan from there
or, see examples.py
it shows how to control the robot, gripper. How to play trajectories and how to get IK without moving
the simulated robot provides
position_controllers/ScaledJointTrajectoryControllerandvelocity_controllers/JointGroupVelocityController, i.e., waypoint controller through moveit or direct assignment of joint velocities to the jointsthe default is
ScaledJointTrajectoryController. You need to switch with rosservice/controller_manager/switch_controllerbefore running joint commandssee examples.py for an example
Non-ROS version
install necessary things
see Installation
you can run examples from examples folder
scripts cartesian_example.py and joints_example.py show how to control the robot in cartesian and joint space, respectively.
pyUR
- pyUR
- pyur module
EndEffectorJointLinkpyURpyUR.compute_skin()pyUR.contactPointspyUR.create_urdf()pyUR.dynamicsInfopyUR.find_joint_id()pyUR.find_link_id()pyUR.get_joint_state()pyUR.get_link_id()pyUR.init_robot()pyUR.is_alive()pyUR.jointInfopyUR.jointStatespyUR.kill_open3d()pyUR.linkInfopyUR.motion_done()pyUR.move_cartesian()pyUR.move_position()pyUR.move_velocity()pyUR.prepare_log()pyUR.print_collision_info()pyUR.run_vhacd()pyUR.stop_robot()pyUR.toggle_gravity()pyUR.update_simulation()pyUR.visualShapeDatapyUR.wait_motion_done()
- utils module
- visualizer module
- gripper module
- pyur module
- Examples
bullet_ros
- bullet_ros
- main module
- motion_interface module
MoveGroupPythonInterfaceMoveGroupPythonInterface.all_close()MoveGroupPythonInterface.apply_planning_scene()MoveGroupPythonInterface.close_gripper()MoveGroupPythonInterface.display_trajectory()MoveGroupPythonInterface.execute_plan()MoveGroupPythonInterface.get_current_state()MoveGroupPythonInterface.get_ee_pose()MoveGroupPythonInterface.go_to_joint_position()MoveGroupPythonInterface.go_to_pose()MoveGroupPythonInterface.open_gripper()MoveGroupPythonInterface.plan_cartesian_path()MoveGroupPythonInterface.stop_robot()
- robot_kinematics_interface module
- rg_finger_publisher module
- Examples