-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from vislab-tecnico-lisboa/urdf_update
Urdf update
- Loading branch information
Showing
61 changed files
with
2,144 additions
and
1,041 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,76 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="use_yarp" default="false"/> | ||
<arg name="use_yarp" default="false"/> | ||
|
||
<group if="$(arg use_yarp)"> | ||
<!-- launch the joint state publisher to default values --> | ||
<node pkg="joint_state_publisher" type="joint_state_publisher" name="joint_state_publisher"> | ||
<rosparam param="source_list">["/vizzy_upper_body/joint_states","joint_states"]</rosparam> | ||
<remap from="/joint_states" to="/vizzy/joint_states" /> | ||
</node> | ||
</group> | ||
|
||
<group if="$(arg use_yarp)"> | ||
<!-- launch the joint state publisher to default values --> | ||
<node pkg="joint_state_publisher" type="joint_state_publisher" name="joint_state_publisher"> | ||
<rosparam param="source_list">["/vizzy_upper_body/joint_states","joint_states"]</rosparam> | ||
<remap from="/joint_states" to="/vizzy/joint_states" /> | ||
</node> | ||
</group> | ||
<!-- Load joint controller configurations from YAML file to parameter server --> | ||
<rosparam file="$(find vizzy_control)/config/vizzy_control.yaml" command="load"/> | ||
<!-- bringup ROS controllers --> | ||
<group unless="$(arg use_yarp)"> | ||
<!-- bringup ROS controllers --> | ||
<group unless="$(arg use_yarp)"> | ||
|
||
<!-- Load the controllers --> | ||
<!-- | ||
<node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen" ns="/vizzy" args=" | ||
waist_position_controller | ||
neck_tilt_position_controller | ||
neck_pan_position_controller | ||
eyes_tilt_position_controller | ||
l_eye_position_controller | ||
r_eye_position_controller | ||
l_shoulder_scapula_position_controller | ||
l_shoulder_flection_position_controller | ||
l_shoulder_rotation_position_controller | ||
l_elbow_flection_position_controller | ||
l_forearm_pronation_position_controller | ||
l_wrist_abduction_position_controller | ||
l_wrist_flection_position_controller | ||
<!-- Load the controllers --> | ||
<!--<node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false" | ||
output="screen" ns="/vizzy" args=" | ||
waist_position_controller | ||
neck_tilt_position_controller | ||
neck_pan_position_controller | ||
eyes_tilt_position_controller | ||
l_eye_position_controller | ||
r_eye_position_controller | ||
r_shoulder_scapula_position_controller | ||
r_shoulder_flection_position_controller | ||
r_shoulder_rotation_position_controller | ||
r_elbow_flection_position_controller | ||
r_forearm_pronation_position_controller | ||
r_wrist_abduction_position_controller | ||
r_wrist_flection_position_controller | ||
joint_state_controller" /> | ||
--> | ||
|
||
l_shoulder_scapula_position_controller | ||
l_shoulder_flection_position_controller | ||
l_shoulder_rotation_position_controller | ||
l_elbow_flection_position_controller | ||
l_forearm_pronation_position_controller | ||
l_wrist_abduction_position_controller | ||
l_wrist_flection_position_controller | ||
<node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen" ns="/vizzy" args=" | ||
joint_state_controller | ||
waist_position_controller | ||
neck_pan_position_controller | ||
neck_tilt_position_controller | ||
eyes_tilt_position_controller | ||
l_eye_position_controller | ||
r_eye_position_controller | ||
left_arm_trajectory_controller | ||
right_arm_trajectory_controller"/> | ||
|
||
r_shoulder_scapula_position_controller | ||
r_shoulder_flection_position_controller | ||
r_shoulder_rotation_position_controller | ||
r_elbow_flection_position_controller | ||
r_forearm_pronation_position_controller | ||
r_wrist_abduction_position_controller | ||
r_wrist_flection_position_controller | ||
joint_state_controller" />--> | ||
<!-- | ||
TODO: Implement controller after hand update | ||
--> | ||
<!-- | ||
r_min_phal_1_position_controller | ||
r_med_phal_1_position_controller | ||
r_ind_phal_1_position_controller | ||
r_thumb_phal_1_position_controller | ||
r_thumb_phal_2_position_controller"/> | ||
--> | ||
|
||
<node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false" | ||
output="screen" ns="/vizzy" args=" | ||
joint_state_controller | ||
waist_position_controller | ||
neck_pan_position_controller | ||
neck_tilt_position_controller | ||
eyes_tilt_position_controller | ||
l_eye_position_controller | ||
r_eye_position_controller | ||
left_arm_trajectory_controller | ||
right_arm_trajectory_controller"/> | ||
<!-- | ||
r_min_phal_1_position_controller | ||
r_med_phal_1_position_controller | ||
r_ind_phal_1_position_controller | ||
r_thumb_phal_1_position_controller | ||
r_thumb_phal_2_position_controller"/> | ||
--> | ||
</group> | ||
|
||
<!-- convert joint states to TF transforms for rviz, etc --> | ||
<!-- convert joint states to TF transforms for rviz, etc --> | ||
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" respawn="false" output="screen"> | ||
<remap from="/joint_states" to="/vizzy/joint_states" /> | ||
<remap from="/joint_states" to="/vizzy/joint_states" /> | ||
</node> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
|
||
<!-- Use graphical interface to set the joints positions --> | ||
<arg name="gui" default="True" /> | ||
<!-- Rviz configuration file --> | ||
<arg name="config_file" default="$(find vizzy_description)/rviz/right_hand_urdf.rviz"/> | ||
|
||
<!-- Load the URDF into the ROS Parameter Server --> | ||
<param | ||
name="robot_description" | ||
command="$(find xacro)/xacro --inorder $(find vizzy_description)/robots/vizzy_hand_only.urdf.xacro use_full_gazebo_model:=false" /> | ||
|
||
<param | ||
name="use_gui" | ||
value="$(arg gui)" /> | ||
|
||
<node | ||
name="joint_state_publisher" | ||
pkg="joint_state_publisher" | ||
type="joint_state_publisher" /> | ||
|
||
<node | ||
name="robot_state_publisher" | ||
pkg="robot_state_publisher" | ||
type="state_publisher" /> | ||
|
||
<node | ||
name="rviz" | ||
pkg="rviz" | ||
type="rviz" | ||
args="-d $(arg config_file)"/> | ||
|
||
</launch> |
File renamed without changes.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<robot name="vizzy_hand" xmlns:xacro="http://ros.org/wiki/xacro" > | ||
|
||
<!-- Includes --> | ||
|
||
<!-- Misc common stuff such as constant definitions --> | ||
<xacro:include filename="$(find vizzy_description)/urdf/common.urdf.xacro"/> | ||
<!-- Hand --> | ||
<xacro:include filename="$(find vizzy_description)/urdf/hand/right_hand.urdf.xacro"> | ||
<xacro:arg name="use_full_gazebo_model" value="$(arg use_full_gazebo_model)"/> | ||
</xacro:include> | ||
|
||
<!-- Root link, on the ground just below the robot origin --> | ||
<link name="base_footprint"> | ||
</link> | ||
|
||
<xacro:right_hand parent="base_footprint"/> | ||
|
||
</robot> |
Oops, something went wrong.