Facing a Tribot North using a HiTechnic Compass Sensor
Glossary Item Box
This sample diagram uses a HiTechnic Compass with a Tribot, and attempts to keep the Tribot always facing North.
The Compass returns CompassSensorUpdate notifications which contain the current Heading in degrees.
If the Tribot is not facing North, calculate the wheel speed in correlation to how far the Tribot is turned away from the North.
© 2012 Microsoft Corporation. All Rights Reserved.