-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24c7b9b
commit 158e24d
Showing
31 changed files
with
252 additions
and
278 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
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,39 +1,22 @@ | ||
/** | ||
* @file link_joints.cpp | ||
* @author Ugo Cupcic <[email protected]>, Contact <[email protected]> | ||
* @date Thu Jul 8 16:57:22 2010 | ||
* | ||
* | ||
* Copyright 2011 Shadow Robot Company Ltd. | ||
* | ||
* This program is free software: you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation, either version 2 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along | ||
* with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* @file link_joints.cpp | ||
* @author Ugo Cupcic <[email protected]>, Contact <[email protected]> | ||
* @date Thu Jul 8 16:57:22 2010 | ||
* | ||
* | ||
* Copyright 2011 Shadow Robot Company Ltd. | ||
* | ||
* This program is free software: you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation, either version 2 of the License, or (at your option) | ||
* any later version. | ||
* Software Foundation version 2 of the License. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along | ||
* with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* This example demonstrates how two joints can have their positions 'linked' by | ||
* having a child joint subscribing to the parent joint's controller state topic. | ||
|
@@ -74,11 +57,11 @@ ros::Subscriber sub; | |
ros::Publisher pub; | ||
|
||
/** | ||
* The callback function is called each time a message is received on the | ||
* controller | ||
* | ||
* @param msg message of type sr_hand::joints_data | ||
*/ | ||
* The callback function is called each time a message is received on the | ||
* controller | ||
* | ||
* @param msg message of type sr_hand::joints_data | ||
*/ | ||
void callback(const control_msgs::JointControllerStateConstPtr &msg) | ||
{ | ||
// publish the message | ||
|
@@ -90,13 +73,13 @@ void callback(const control_msgs::JointControllerStateConstPtr &msg) | |
} | ||
|
||
/** | ||
* The main: initialise a ros node, a subscriber and a publisher | ||
* | ||
* @param argc | ||
* @param argv | ||
* | ||
* @return 0 on success | ||
*/ | ||
* The main: initialise a ros node, a subscriber and a publisher | ||
* | ||
* @param argc | ||
* @param argv | ||
* | ||
* @return 0 on success | ||
*/ | ||
int main(int argc, char **argv) | ||
{ | ||
// init the ros node | ||
|
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
1 change: 1 addition & 0 deletions
1
sr_hand_kinematics/hand_kinematics/include/hand_kinematics/copyright_exclusions.cfg
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 @@ | ||
exclude_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
1 change: 1 addition & 0 deletions
1
sr_hand_kinematics/hand_kinematics/src/copyright_exclusions.cfg
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 @@ | ||
exclude_files=\.* |
1 change: 1 addition & 0 deletions
1
sr_hand_kinematics/hand_kinematics/test/copyright_exclusions.cfg
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 @@ | ||
exclude_files=\.* |
Oops, something went wrong.