move.h File Reference

Contains definitions for controlling robot motion. More...

Go to the source code of this file.

Defines

#define FWD   0
 Move forwards.
#define BCK   1
 Move backwards.
#define SLOW_SPD   96
 A slow speed.
#define HALF_SPD   128
 Half of the full speed.
#define NRML_SPD   160
 A normal speed.
#define FAST_SPD   192
 A fast speed.
#define FULL_SPD   255
 The maximum speed.
#define SLOW_TURN   64
 A slow turning speed.
#define NRML_TURN   96
 A medium turning speed.
#define FAST_TURN   128
 A high turning speed.

Functions

void move (int velocity, int omega)
 Move the robot at the specified velocity.
void move_avoid (int velocity, int omega, int strength)
 Move the robot while avoiding obstacles.


Detailed Description

Contains definitions for controlling robot motion.

Copyright (c) 2007 Colony Project

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This file offers higher-level functions for robot motion.

Author:
Colony Project, CMU Robotics Club

Generated on Fri Nov 20 21:51:59 2009 for Colony by  doxygen 1.5.8