-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Backport) Joint DOM API to access joint sensors (#517)
* Add Joint DOM API to access joint sensors Signed-off-by: Jenn Nguyen <[email protected]> Co-authored-by: Jenn Nguyen <[email protected]>
- Loading branch information
Showing
5 changed files
with
137 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.7"> | ||
<model name="model"> | ||
<link name="link1"/> | ||
<link name="link2"/> | ||
<joint name="joint" type="fixed"> | ||
<parent>link1</parent> | ||
<child>link2</child> | ||
<sensor name="force_torque_sensor" type="force_torque"> | ||
<pose>10 11 12 0 0 0</pose> | ||
<force_torque> | ||
<frame>parent</frame> | ||
<measure_direction>parent_to_child</measure_direction> | ||
</force_torque> | ||
</sensor> | ||
</joint> | ||
</model> | ||
</sdf> |