Skip to content

Commit d65f285

Browse files
committed
document finger sensors
1 parent 99074cd commit d65f285

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

simulator/programming/index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,22 @@ Orientation information is returned in different formats between the simulator a
117117
One (possibly both) of them may change to resolve this.
118118
</div>
119119

120+
### Pressure sensing
121+
122+
Your simulated robot has two deployable 'fingers' that are able to lift the front of the robot up. These fingers have pressure sensors on their tips to measure mass. With this you can determine the weight of an object your robot is carrying.
123+
124+
The servos to move the fingers are both attached to servo pin 3 in the servo board:
125+
126+
| Servo | Location |
127+
|-------|--------------------|
128+
| 3 | both finger servos |
129+
130+
Once the fingers are deployed, your robot will have reduced motion but it will be able to sense the total pressure on the front of the robot. The pressure sensing fingers are available as analogue inputs on A6, they are meant to emulate sensors that output a higher value proportional to higher pressure.
131+
132+
| Pin | Location |
133+
|-----|------------------|
134+
| A6 | Pressure sensors |
135+
120136
## Simulated Time
121137

122138
In the simulated environment, time advances only at the pace that the simulator

0 commit comments

Comments
 (0)