Basic Parts Tutorial #12(v2.0): Servo Motor, Atan2, Sub and Value ShiftzardOz2 - Custom level - from Android
zardOz's Principia Tutorials #12
Need help? This example shows the basic function of the Servo Motor, CT Servo, Atan2, Sub, Value Shift, Toggler and Pointer.
The Atan2 sets the angle by marking two points on a graph (+X,+Y) & (-X,-Y), its inputs are all set at one with the Toggler, then one of the graph points was sent through an Inverter (Tutorial #6). Tap the RC control button to "toggle" between 1.0 and 0.0.
Above that the Pointer displays the signal angle, it will match the Servo Motor output. The Servo Motor is used to set angles and for fine motor control, it plugs into the CT Servo with an Interface Cable.
The Sub lowers the signal by a specific amount and the Value shift adds a specific amount. The values are wrapped if over 1.0 or below 0.0 (see Tutorial #11)
Open the level in Sandbox to explore.
Views: 2251 Downloads: 687 Unique objects: 16 Total objects: 55
LEVEL ID: 846