Elbow | |
---|---|
Connections | 4 |
Mass | 0.5*2 |
Dimensions | 1x1x1 |
Restitution | 0.5 |
Friction | 1 |
(Inherits from bot part)
They act as a hinge, either allowing structures to bend freely, holding them at a given angle, or bending with a given velocity.
Input/Output | Description | Data Type |
---|---|---|
>angle | Sets the desired angle of the elbow | decimal |
>velocity | Sets the speed of a constant bending | decimal |
<angle | gets the actual angle | decimal |
Usage[]
Elbows are capable of rotating through 180 degrees between +90 and -90, with 0 degrees being straight. Elbows behave very similarly to motors, the only difference being that their construction limits rotation to a 180 degrees cone.
If no >angle or >velocity is set, the elbow will move freely.
Setting >angle will cause the elbow to try and bend to an absolute angle.
However, elbows appear to operate on an internal controller to reach a set >angle. In earlier releases, that control may not provide enough torque to rotate under heavier loads. In this case, an external controller has been a good solution to modify the >angle value until the effective <angle reached the desired one.
Setting >velocity will cause the elbow to try and bend at the given value in degrees per second.
Elbows can also be used to measure angle by reading <angle.