449
edits
No edit summary |
|||
Line 91: | Line 91: | ||
hands_out_front: {lA_x:0, lA_z:-90, lAO_x:0, rA_x:0, rA_z:90, rAO_x:0} | hands_out_front: {lA_x:0, lA_z:-90, lAO_x:0, rA_x:0, rA_z:90, rAO_x:0} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
You can also create positions during runtime in the '''main_loop''' using the '''rmPos.new''' function. (See below) | |||
Remember to put a comma after the line right before the new one you add. | Remember to put a comma after the line right before the new one you add. | ||
Line 115: | Line 117: | ||
==== Useful internal functions ==== | ==== Useful internal functions ==== | ||
* '''rmPos.new(lA_x, lA_z, lAO_x, rA_x, rA_z, rAO_x)''' creates and returns a new instance of the rmPos hash. This hash is in the '''pos.<pos_name>''' format and can be used in the functions below. | |||
* '''getDeviation(heading, target)''' returns the deviation to a target heading from your current heading. This is used by the marshaller to help guide you to the ramp. | * '''getDeviation(heading, target)''' returns the deviation to a target heading from your current heading. This is used by the marshaller to help guide you to the ramp. |
edits