26 #ifndef __SEGWAYRMP400_H_ 27 #define __SEGWAYRMP400_H_ 34 #if !defined (WIN32) || defined (__MINGW32__) 38 #include <netinet/in.h> 41 #include <libplayercore/playercore.h> 103 bool newfront3d, newback3d, newfront2d, newback2d;
Class for loading configuration file information.
Definition: configfile.h:196
position 2d velocity command
Definition: player_interfaces.h:617
void Main()
Main method for driver thread.
Definition: segwayrmp400.cc:268
Generic message header.
Definition: player.h:161
virtual void MainQuit()
Cleanup method for driver thread (called when main exits)
Definition: segwayrmp400.cc:247
A device address.
Definition: player.h:145
Base class for drivers which oeprate with a thread.
Definition: driver.h:552
Data: state (PLAYER_POSITION3D_DATA_STATE)
Definition: player_interfaces.h:2476
Command: velocity (PLAYER_POSITION3D_CMD_SET_VEL)
Definition: player_interfaces.h:2504
Encapsulates a device (i.e., a driver bound to an interface)
Definition: device.h:74
An autopointer for the message queue.
Definition: message.h:73
void ProcessData()
Definition: segwayrmp400.cc:421
virtual int MainSetup()
Sets up the resources needed by the driver thread.
Definition: segwayrmp400.cc:197
position2d data
Definition: player_interfaces.h:606
int HandlePosition3DCmd(player_position3d_cmd_vel_t *cmd)
Definition: segwayrmp400.cc:390
int HandlePosition2DCmd(player_position2d_cmd_vel_t *cmd)
Definition: segwayrmp400.cc:405
SegwayRMP400(ConfigFile *cf, int section)
Definition: segwayrmp400.cc:116
int ProcessMessage(QueuePointer &resp_queue, player_msghdr_t *hdr, void *data)
Message handler.
Definition: segwayrmp400.cc:292
Definition: segwayrmp400.h:45