Skip to content

Compass

dennis9707 edited this page Sep 15, 2020 · 1 revision

Compass

  1. Create an empty object to represent the compass and make sure the object is a child object of the boat
  2. Place the Compass script onto the object
  3. The compass returns a normalized vector representing the Z axis of the transform in world space.

For more detailed explanation check: Transform.forward

Magneticfield Publisher

The Magneticfield Publisher publishes the sensor stream from the compass to ROSBridge. The format of the message is MagneticField

Clone this wiki locally