Revision 1878 trunk/code/projects/linefollowing/lineFollow.c

View differences:

lineFollow.c
153 153
/**
154 154
 * Turns left at a cross of two lines.  Assumes that we are at lines in a cross
155 155
 * pattern, and turns until it sets straight on the new line.
156
 * @return 1 if the turn was executed successfully, 0 otherwise.
156
 * @return 0 if turn finishes otherwise return 1
157 157
 */
158 158
int turnLeft()
159 159
{
......
179 179
/**
180 180
 * Turns right at a cross of two lines.  Assumes that we are at lines in a cross
181 181
 * pattern, and turns until it sets straight on the new line.
182
 * @return 1 if the turn was executed successfully, 0 otherwise.
182
 * @return 0 if the turn finishes otherwise return 1
183 183
 */
184 184
int turnRight()
185 185
{

Also available in: Unified diff