@@ -37,54 +37,52 @@ namespace systems
37
37
// /
38
38
// / It requires that contact sensor and depth camera be placed in at least
39
39
// / one link on the model on which this plugin is attached.
40
- // / TODO:
40
+ // /
41
+ // / \todo(anyone)
41
42
// / Currently, the contacts returned from the physics engine (which tends to
42
43
// / be sparse) and the normal forces separately computed from the depth
43
44
// / camera (which is dense, resolution adjustable) are disjoint. It is
44
45
// / left as future work to combine the two sets of data.
45
46
// /
46
- // / Parameters:
47
+ // / ## System Parameters
47
48
// /
48
- // / <enabled> Set this to true so the plugin works from the start and
49
- // / doesn't need to be enabled. This element is optional, and the
50
- // / default value is true.
49
+ // / - ` <enabled>`: Set this to true so the plugin works from the start and
50
+ // / doesn't need to be enabled. This element is optional, and the
51
+ // / default value is true.
51
52
// /
52
- // / <namespace> Namespace for transport topics/services. If there are more
53
- // / than one optical tactile plugins, their namespaces should
54
- // / be different.
55
- // / This element is optional, and the default value is
56
- // / "optical_tactile_sensor".
57
- // / /<namespace>/enable : Service used to enable and disable the
58
- // / plugin.
59
- // / /<namespace>/normal_forces : Topic where a message is
60
- // / published each time the
61
- // / normal forces are computed
53
+ // / - `<namespace>`: Namespace for transport topics/services. If there are
54
+ // / more than one optical tactile plugins, their namespaces should
55
+ // / be different. This element is optional, and the default value is
56
+ // / "optical_tactile_sensor".
57
+ // / - `/<namespace>/enable`: Service used to enable and disable the plugin.
58
+ // / - `/<namespace>/normal_forces`: Topic where a message is
59
+ // / published each time the normal forces are computed
62
60
// /
63
- // / <visualization_resolution> Number n of pixels to skip when visualizing
64
- // / the forces. One vector representing a normal
65
- // / force is computed for every nth pixel. This
66
- // / element must be positive and it is optional.
67
- // / The default value is 30.
61
+ // / - ` <visualization_resolution>`: Number n of pixels to skip when
62
+ // / visualizing the forces. One vector representing a normal
63
+ // / force is computed for every nth pixel. This
64
+ // / element must be positive and it is optional.
65
+ // / The default value is 30.
68
66
// /
69
- // / <force_length> Length in meters of the forces visualized if
70
- // / <visualize_forces> is set to true. This parameter is
71
- // / optional, and the default value is 0.01.
67
+ // / - ` <force_length>`: Length in meters of the forces visualized if
68
+ // / <visualize_forces> is set to true. This parameter is
69
+ // / optional, and the default value is 0.01.
72
70
// /
73
- // / <extended_sensing> Extended sensing distance in meters. The sensor will
74
- // / output data coming from its collision geometry plus
75
- // / this distance. This element is optional, and the
76
- // / default value is 0.001.
71
+ // / - ` <extended_sensing>`: Extended sensing distance in meters. The sensor
72
+ // / will output data coming from its collision geometry plus
73
+ // / this distance. This element is optional, and the
74
+ // / default value is 0.001.
77
75
// /
78
- // / <visualize_sensor> Whether to visualize the sensor or not. This element
79
- // / is optional, and the default value is false.
76
+ // / - ` <visualize_sensor>`: Whether to visualize the sensor or not. This
77
+ // / element is optional, and the default value is false.
80
78
// /
81
- // / <visualize_contacts> Whether to visualize the contacts from the contact
82
- // / sensor based on physics. This element is optional,
83
- // / and the default value is false.
79
+ // / - ` <visualize_contacts>`: Whether to visualize the contacts from the
80
+ // / contact sensor based on physics. This element is optional,
81
+ // / and the default value is false.
84
82
// /
85
- // / <visualize_forces> Whether to visualize normal forces computed from the
86
- // / depth camera. This element is optional, and the
87
- // / default value is false.
83
+ // / - ` <visualize_forces>`: Whether to visualize normal forces computed from
84
+ // / the depth camera. This element is optional, and the
85
+ // / default value is false.
88
86
89
87
class OpticalTactilePlugin :
90
88
public System,
0 commit comments