Skip to content
Snippets Groups Projects
Commit b993a8f4 authored by Shaun Edwards's avatar Shaun Edwards
Browse files

Merge pull request #6 from ros-industrial/swri_internal_mods

Swri internal mods
parents 11154a89 b0e1af75
Branches
Tags
No related merge requests found
controller_manager_ns: pr2_controller_manager
controller_list:
- name: ""
ns: joint_trajectory_action
default: true
joints:
- shoulder_pan_joint
- shoulder_lift_joint
- elbow_joint
- wrist_1_joint
- wrist_2_joint
- wrist_3_joint
joint_limits:
elbow_joint:
has_velocity_limits: true
max_velocity: 1.0
max_velocity: 0.45
has_acceleration_limits: true
max_acceleration: 1.0
shoulder_lift_joint:
has_velocity_limits: true
max_velocity: 1.0
max_velocity: 0.45
has_acceleration_limits: true
max_acceleration: 1.0
shoulder_pan_joint:
has_velocity_limits: true
max_velocity: 1.0
max_velocity: 0.45
has_acceleration_limits: true
max_acceleration: 1.0
wrist_1_joint:
has_velocity_limits: true
max_velocity: 1.0
max_velocity: 0.45
has_acceleration_limits: true
max_acceleration: 1.0
wrist_2_joint:
has_velocity_limits: true
max_velocity: 1.0
max_velocity: 0.45
has_acceleration_limits: true
max_acceleration: 1.0
wrist_3_joint:
has_velocity_limits: true
max_velocity: 1.0
max_velocity: 0.45
has_acceleration_limits: true
max_acceleration: 1.0
\ No newline at end of file
max_acceleration: 1.0
controller_joint_names: ['shoulder_pan_joint', 'shoulder_lift_joint', 'elbow_joint', 'wrist_1_joint', 'wrist_2_joint', 'wrist_3_joint']
<launch>
<!-- The planning and execution components of MoveIt! configured to run -->
<!-- using the ROS-Industrial interface. -->
<!-- the "sim" argument controls whether we connect to a Simulated or Real robot -->
<!-- - if sim=false, a robot_ip argument is required -->
<arg name="sim" default="true" />
<arg name="robot_ip" unless="$(arg sim)" />
<!-- load robot specific joint names (in order expected by controller) -->
<rosparam command="load" file="$(find ur5_moveit_config)/config/joint_names.yaml"/>
<!-- load the robot_description parameter before launching ROS-I nodes -->
<include file="$(find ur5_moveit_config)/launch/planning_context.launch" >
<arg name="load_robot_description" value="true" />
</include>
<!-- run the robot simulator and action interface nodes -->
<group if="$(arg sim)">
<include file="$(find industrial_robot_simulator)/launch/robot_interface_simulator.launch" />
</group>
<!-- run the "real robot" interface nodes -->
<!-- - this typically includes: robot_state, motion_interface, and joint_trajectory_action nodes -->
<!-- - replace these calls with appropriate robot-specific calls or launch files -->
<group unless="$(arg sim)">
<!-- UR driver consists of a single node - does not currrently follow ROS-I convention -->
<node name="ur_driver" pkg="ur_driver" type="driver.py" args="$(arg robot_ip)" >
<remap from="follow_joint_trajectory/" to="joint_trajectory_action/"/>
</node>
</group>
<!-- publish the robot state (tf transforms) -->
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />
<include file="$(find ur5_moveit_config)/launch/move_group.launch">
<arg name="publish_monitored_planning_scene" value="true" />
</include>
<include file="$(find ur5_moveit_config)/launch/moveit_rviz.launch">
<arg name="config" value="true"/>
</include>
<include file="$(find ur5_moveit_config)/launch/default_warehouse_db.launch" />
</launch>
<launch>
<arg name="moveit_controller_manager"
default="pr2_moveit_controller_manager/Pr2MoveItControllerManager"/>
<param name="moveit_controller_manager"
value="$(arg moveit_controller_manager)"/>
<arg name="controller_manager_name"
default="pr2_controller_manager" />
<param name="controller_manager_name"
value="$(arg controller_manager_name)"/>
<arg name="use_controller_manager" default="false" />
<param name="use_controller_manager"
value="$(arg use_controller_manager)" />
<rosparam file="$(find ur5_moveit_config)/config/controllers.yaml"/>
</launch>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment