Reference.RobotCompassRead History

Hide minor edits - Show changes to markup

May 15, 2013, at 09:25 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Get the current direction from on-board compass.

to:

Get the current direction from on-board compass. The values are degrees of rotation from north (in a clockwise direction), so that east is 90, south is 180, and west is 270.

Changed lines 19-20 from:

int: 0 to 359, representing the number of degrees of rotation.

to:

int: 0 to 359, representing the number of degrees of rotation from north.

May 03, 2013, at 11:18 AM by Xun Yang -
Changed lines 1-2 from:
to:
April 14, 2013, at 10:52 AM by Scott Fitzgerald -
Added lines 9-12:

Syntax

Robot.compassRead()

April 14, 2013, at 10:47 AM by Scott Fitzgerald -
Changed lines 15-16 from:

int: between 0 and 359, indicating 0 to 359 degrees.

to:

int: 0 to 359, representing the number of degrees of rotation.

April 14, 2013, at 10:46 AM by Scott Fitzgerald -
Added lines 1-2:
Changed lines 15-16 from:

int between 0 and 359, indicating 0 to 359 degrees.

to:

int: between 0 and 359, indicating 0 to 359 degrees.

Note

The compass module may be disrupted by magnetic fields in surrounding areas.

Deleted lines 34-36:

Notice

The compass module may get disrupted by magnetic fields in the surrounding. Incorrect values will be returned in that case.

Changed line 39 from:
to:
April 11, 2013, at 07:37 PM by Xun Yang -
Changed lines 13-14 from:

int between 0 and 359

to:

int between 0 and 359, indicating 0 to 359 degrees.

April 11, 2013, at 07:35 PM by Xun Yang -
Added lines 1-37:

Share