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

noetic-devel fixups #14

Closed
wants to merge 7 commits into from
Closed
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
1 change: 0 additions & 1 deletion config/hand.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<!--END EFFECTOR: Purpose: Represent information about an end effector.-->
<!--VIRTUAL JOINT: Purpose: this element defines a virtual joint between a robot link and an external frame of reference (considered fixed with respect to the robot)-->
<!--PASSIVE JOINT: Purpose: this element is used to mark joints that are not actuated-->
<passive_joint name="panda_finger_joint2"/>
<!--DISABLE COLLISIONS: By default it is assumed that any link of the robot could potentially come into collision with any other link in the robot. This tag disables collision checking between a specified pair of links. -->
<disable_collisions link1="panda_hand" link2="panda_leftfinger" reason="Adjacent"/>
<disable_collisions link1="panda_hand" link2="panda_link4" reason="Never"/>
Expand Down
2 changes: 1 addition & 1 deletion config/simple_moveit_controllers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
controller_list:
- name: position_joint_trajectory_controller
- name: joint_trajectory_controller
action_ns: follow_joint_trajectory
type: FollowJointTrajectory
default: true
Expand Down
17 changes: 17 additions & 0 deletions launch/franka_control.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<launch>
<!-- Launch real-robot control -->
<include file="$(find franka_control)/launch/franka_control.launch" pass_all_args="true" />

<!-- Load joint-trajectory controller into ROS controller_manager -->
<node name="trajectory_controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen" args="joint_trajectory_controller" />

<!-- as well as MoveIt demo -->
<include file="$(dirname)/demo.launch" pass_all_args="true">
<!-- robot description is loaded by gazebo.launch, to enable Gazebo features -->
<arg name="load_robot_description" value="false" />
<!-- MoveItSimpleControllerManager provides ros_control's JointTrajectory controllers
as well as GripperCommand actions -->
<arg name="moveit_controller_manager" value="simple" />
</include>
</launch>
55 changes: 14 additions & 41 deletions launch/franka_gazebo.launch
Original file line number Diff line number Diff line change
@@ -1,54 +1,27 @@
<launch>

<!-- specify the planning pipeline -->
<arg name="pipeline" default="ompl" />

<!-- By default, we do not start a database (it can be large) -->
<arg name="db" default="false" />
<!-- Allow user to specify database location -->
<arg name="db_path" default="$(find panda_moveit_config)/default_warehouse_mongo_db" />

<!-- By default, we are not in debug mode -->
<arg name="debug" default="false" />

<!-- By default we will load the gripper -->
<!-- Panda specific options -->
<arg name="load_gripper" default="true" />
<arg name="transmission" default="effort" />

<!-- Gazebo specific options -->
<arg name="gazebo_gui" default="true"/>
<arg name="paused" default="false"/>
<arg name="gazebo_gui" default="true" />
<arg name="paused" default="false" />

<!-- launch the gazebo simulator and spawn the robot -->
<include file="$(find franka_gazebo)/launch/panda.launch">
<!-- Launch the gazebo simulator and spawn the robot -->
<include file="$(find franka_gazebo)/launch/panda.launch" pass_all_args="true">
<arg name="headless" value="$(eval not arg('gazebo_gui'))" />
<arg name="paused" value="$(arg paused)"/>
<arg name="use_gripper" default="$(arg load_gripper)"/>
<arg name="transmission" value="hardware_interface/PositionJointInterface"/>
<arg name="use_gripper" default="$(arg load_gripper)" />
<arg name="controller" default="joint_trajectory_controller" />
</include>

<group ns="panda">
<!-- Run the main MoveIt executable without trajectory execution (we do not have controllers configured by default) -->
<include file="$(dirname)/move_group.launch">
<arg name="allow_trajectory_execution" value="true" />
<arg name="moveit_controller_manager" value="ros_control" />
<arg name="info" value="true" />
<arg name="debug" value="$(arg debug)" />
<arg name="pipeline" value="$(arg pipeline)" />
<arg name="load_gripper" value="$(arg load_gripper)" />
<!-- robot description is loaded by franka_gazebo/panda.launch, to enable Gazebo features -->
<arg name="load_robot_description" value="false" />
</include>

<!-- Run Rviz and load the default config to see the state of the move_group node -->
<include file="$(dirname)/moveit_rviz.launch">
<arg name="rviz_config" value="$(dirname)/moveit.rviz" />
<arg name="debug" value="$(arg debug)" />
</include>
</group>

<!-- If database loading was enabled, start mongodb as well -->
<include file="$(dirname)/default_warehouse_db.launch" if="$(arg db)">
<arg name="moveit_warehouse_database_path" value="$(arg db_path)"/>
<include file="$(dirname)/demo.launch" pass_all_args="true">
<!-- robot description is loaded by gazebo.launch, to enable Gazebo features -->
<arg name="load_robot_description" value="false" />
<!-- MoveItSimpleControllerManager provides ros_control's JointTrajectory controllers
as well as GripperCommand actions -->
<arg name="moveit_controller_manager" value="simple" />
</include>

</launch>
30 changes: 0 additions & 30 deletions launch/panda_control_moveit_rviz.launch

This file was deleted.

10 changes: 0 additions & 10 deletions launch/panda_moveit.launch

This file was deleted.