Reference.RobotSetMode History

Hide minor edits - Show changes to markup

May 15, 2013, at 06:27 AM by Scott Fitzgerald -
Changed lines 36-37 from:
to:
May 15, 2013, at 06:26 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Switch the robot into different modes. Robot will accept different commands and behave differently in each mode.

to:

Change the robot's mode. Depending on the mode it is currently in, the commands may change.

Changed lines 36-38 from:
to:
May 03, 2013, at 11:14 AM by Xun Yang -
Changed lines 1-2 from:
to:
May 01, 2013, at 05:14 PM by Xun Yang -
Changed lines 37-38 from:
to:
April 14, 2013, at 09:42 AM by Scott Fitzgerald -
Changed lines 17-18 from:
  • MODE_LINE_FOLLOW : the robot will automatically start line-following, and stop accepting commands such as motorsWrite().
to:
  • MODE_LINE_FOLLOW : the robot will start line-following, and stop responding to motor commands
April 14, 2013, at 09:41 AM by Scott Fitzgerald -
Changed lines 1-2 from:

setMode(modeName)

to:

Robot?

setMode()

Added lines 9-12:

Syntax

Robot.setMode(modeName)

Changed lines 15-16 from:

modeName: Name of the mode you want to set the robot into. Can be MODE_SIMPLE or MODE_LINE_FOLLOW. If you set the mode as MODE_SIMPLE, the robot will accept all commands. If set to MODE_LINE_FOLLOW, robot will automatically start line-following, and stop accepting commands such as motorsWrite().

to:

modeName: Name of the mode you want to set the robot into.

  • MODE_SIMPLE : the robot will accept all commands.
  • MODE_LINE_FOLLOW : the robot will automatically start line-following, and stop accepting commands such as motorsWrite().
Changed line 38 from:
to:
April 11, 2013, at 07:31 PM by Xun Yang -
Added lines 1-30:

Share