-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doc] Add McMujocoTactileSensorSytem.md
- Loading branch information
Showing
3 changed files
with
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## System details for using tactile sensor with mc_mujoco | ||
|
||
### Data flow | ||
MujocoTactileSensorPlugin (MuJoCo plugin) simulates the tactile sensor and publishes the data as a ROS topic. Then, McRtcTactileSensorPlugin (mc_rtc plugin) subscribes the data and sets them as measured values in mc_rtc's force sensor. | ||
|
||
![McMujocoTactileSensorSytem.png](images/McMujocoTactileSensorSytem.png) | ||
|
||
### Model and configuration files | ||
|
||
Typical descriptions of tactile sensors in the model and configuration files are as follows: | ||
|
||
- MJCF (XML) | ||
- The `site` (i.e., frame) of the tactile sensor (\#Frame1) | ||
- `topic_name` to publish the tactile sensor data | ||
- URDF | ||
- Dummy (fixed) joint and link for the frame of the tactile sensor (\#Frame2) | ||
- mc_rbdyn::RobotModule | ||
- Force sensor frame (\#Frame3) | ||
- Configuration file of the mc_rtc controller (e.g., YAML) | ||
- Frame of contact (\#Frame4) | ||
- Configuration file of McRtcTactileSensorPlugin (e.g., YAML) | ||
- Frame name of the tactile sensor defined in the URDF | ||
- Force sensor name defined in the mc_rbdyn::RobotModule | ||
- Topic name defined in the MJCF | ||
|
||
These descriptions are subject to the following constraints: | ||
|
||
- The parent link of \#Frame1, \#Frame2, \#Frame3, and \#Frame4 must all be identical. | ||
- The locations of \#Frame1 and \#Frame2 must be identical. | ||
- The locations of \#Frame1 and \#Frame3 do not have to be the same; dummy location (e.g., Identity) is acceptable for \#Frame3. | ||
- The locations of \#Frame1 and \#Frame4 do not have to be the same; however, they are the same in the main test case. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.