-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make code compatible with latest franka_ros version (#183)
This commit guarantees that the `panda_gazebo` code aligns with the most recent upstream commit (specifically 5f90395ef000e0c998fb7aff8f127b9bd3773962). Adjustments were made to the joint position and joint effort control services to integrate with the updated version seamlessly. In the new iteration, the panda arm joint positions and efforts are managed through group controllers. You can find additional insights at frankaemika/franka_ros#181 (comment).
- Loading branch information
Showing
46 changed files
with
564 additions
and
915 deletions.
There are no files selected for viewing
Submodule franka_ros
updated
116 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
panda_gazebo/cfg/controllers/joint_effort_controllers.yaml
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
panda_gazebo/cfg/controllers/joint_group_effort_controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Configuration file that contains the configuration values for setting up the panda | ||
# group effort controller. | ||
panda_arm_joint_effort_controller: | ||
type: effort_controllers/JointGroupEffortController | ||
joints: | ||
- panda_joint1 | ||
- panda_joint2 | ||
- panda_joint3 | ||
- panda_joint4 | ||
- panda_joint5 | ||
- panda_joint6 | ||
- panda_joint7 |
12 changes: 12 additions & 0 deletions
12
panda_gazebo/cfg/controllers/joint_group_position_controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Configuration file that contains the configuration values for setting up the panda | ||
# group position controller. | ||
panda_arm_joint_position_controller: | ||
type: position_controllers/JointGroupPositionController | ||
joints: | ||
- panda_joint1 | ||
- panda_joint2 | ||
- panda_joint3 | ||
- panda_joint4 | ||
- panda_joint5 | ||
- panda_joint6 | ||
- panda_joint7 |
23 changes: 0 additions & 23 deletions
23
panda_gazebo/cfg/controllers/joint_position_controllers.yaml
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
panda_gazebo/cfg/controllers/position_joint_trajectory_controllers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
panda_gazebo/launch/load_joint_effort_controllers.launch.xml
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
panda_gazebo/launch/load_joint_group_effort_controller.launch.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!--Launch file that launches a joint group effort controller--> | ||
<launch> | ||
<arg name="stopped" default="false" doc="Spawn the controllers in stoped mode"/> | ||
|
||
<!--Load controller parameters--> | ||
<rosparam file="$(find panda_gazebo)/cfg/controllers/joint_group_effort_controller.yaml" command="load"/> | ||
|
||
<!--Load the controllers--> | ||
<arg if="$(arg stopped)" name="command_args" value="--stopped"/> | ||
<arg unless="$(arg stopped)" name="command_args" value="" /> | ||
<node name="joint_effort_controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen" args="$(arg command_args) panda_arm_joint_effort_controller"/> | ||
</launch> |
12 changes: 12 additions & 0 deletions
12
panda_gazebo/launch/load_joint_group_position_controller.launch.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!--Launch file that launches a joint group position controller--> | ||
<launch> | ||
<arg name="stopped" default="false" doc="Spawn the controllers in stoped mode"/> | ||
|
||
<!--Load controller parameters--> | ||
<rosparam file="$(find panda_gazebo)/cfg/controllers/joint_group_position_controller.yaml" command="load"/> | ||
|
||
<!--Load the controllers--> | ||
<arg if="$(arg stopped)" name="command_args" value="--stopped"/> | ||
<arg unless="$(arg stopped)" name="command_args" value=""/> | ||
<node name="joint_position_controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen" args="$(arg command_args) panda_arm_joint_position_controller"/> | ||
</launch> |
13 changes: 0 additions & 13 deletions
13
panda_gazebo/launch/load_joint_position_controllers.launch.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<!-- Launch file for loading RVIZ --> | ||
<!--Launch file for loading RVIZ --> | ||
<launch> | ||
<!-- GDB Debug Option --> | ||
<!--GDB Debug Option--> | ||
<arg name="debug" default="false" doc="Add gdb debug flag"/> | ||
<arg unless="$(arg debug)" name="launch_prefix" value=""/> | ||
<arg if="$(arg debug)" name="launch_prefix" value="gdb --ex run --args"/> | ||
<!-- rviz launch arguments --> | ||
<!--rviz launch arguments--> | ||
<arg name="moveit" default="false" doc="Start MoveIt"/> | ||
<arg unless="$(arg moveit)" name="rviz_file_default" value="$(find panda_gazebo)/launch/includes/rviz/panda.rviz"/> | ||
<arg if="$(arg moveit)" name="rviz_file_default" value="$(find panda_gazebo)/launch/includes/rviz/panda_moveit.rviz"/> | ||
<arg name="rviz_file" default="$(arg rviz_file_default)" doc="Path to the Rviz configuration file"/> | ||
<arg name="command_args" value="-d $(arg rviz_file)" /> | ||
|
||
<!-- launch rviz --> | ||
<!--launch rviz--> | ||
<node name="$(anon rviz)" launch-prefix="$(arg launch_prefix)" pkg="rviz" type="rviz" respawn="false" args="$(arg command_args)" output="screen"> | ||
<rosparam command="load" file="$(find panda_moveit_config)/config/kinematics.yaml"/> | ||
</node> | ||
</launch> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.