Homepage Demos Overview Downloads Tutorials Reference
Credits
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Search

WalkMC.cc File Reference


Detailed Description

Implements WalkMC, a MotionCommand for walking around.

Author:
CMU RoboSoccer 2001-2002 (Creator)

ejt (ported)

  =========================================================================
    CMPack'02 Source Code Release for OPEN-R SDK v1.0
    Copyright (C) 2002 Multirobot Lab [Project Head: Manuela Veloso]
    School of Computer Science, Carnegie Mellon University
  -------------------------------------------------------------------------
    This software is distributed under the GNU General Public License,
    version 2.  If you do not have a copy of this licence, visit
    www.gnu.org, or write: Free Software Foundation, 59 Temple Place,
    Suite 330 Boston, MA 02111-1307 USA.  This program is distributed
    in the hope that it will be useful, but WITHOUT ANY WARRANTY,
    including MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  -------------------------------------------------------------------------
    Additionally licensed to Sony Corporation under the following terms:

    This software is provided by the copyright holders AS IS and any
    express or implied warranties, including, but not limited to, the
    implied warranties of merchantability and fitness for a particular
    purpose are disclaimed.  In no event shall authors be liable for
    any direct, indirect, incidental, special, exemplary, or consequential
    damages (including, but not limited to, procurement of substitute
    goods or services; loss of use, data, or profits; or business
    interruption) however caused and on any theory of liability, whether
    in contract, strict liability, or tort (including negligence or
    otherwise) arising in any way out of the use of this software, even if
    advised of the possibility of such damage.
  =========================================================================

Author
ejt
Name
tekkotsu-1_4_1
Revision
1.13
State
Exp
Date
2003/05/01 17:19:29

Definition in file WalkMC.cc.

#include "WalkMC.h"
#include "Shared/WorldState.h"
#include "Events/EventRouter.h"
#include "Events/LocomotionEvent.h"
#include "Motion/MotionManager.h"
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <fcntl.h>
#include <unistd.h>
#include <fstream>

Include dependency graph for WalkMC.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define BOUND_MOTION

Functions

unsigned int checksum (const char *data, int num)
 computes a file checksum

template<class data> int read_file (data *arr, int num, const char *filename)
 reads a set of walk parameters from a file

template<class data> int save_file (data *arr, int num, const char *filename)
 saves the current walk parameters to a file


Define Documentation

#define BOUND_MOTION
 

Definition at line 48 of file WalkMC.cc.


Function Documentation

unsigned int checksum const char *  data,
int  num
 

computes a file checksum

Definition at line 237 of file WalkMC.cc.

template<class data>
int read_file data *  arr,
int  num,
const char *  filename
 

reads a set of walk parameters from a file

Definition at line 252 of file WalkMC.cc.

template<class data>
int save_file data *  arr,
int  num,
const char *  filename
 

saves the current walk parameters to a file

Definition at line 274 of file WalkMC.cc.


Tekkotsu v1.4
Generated Sat Jul 19 00:08:36 2003 by Doxygen 1.3.2