50 bool send_cmd_action(
int act,
int speed);
52 bool path_management(
int act);
54 bool path_management(
int act,
const string &path_name);
56 bool general_command(
int act,
string &response,
string &errormsg);
71 enum status {idle, driving_home, docking, executing_path, recording_path};
101 bool move(
char direction,
int speed=5 );
107 bool rotate(
char direction,
int speed=5 );
113 bool takeHeadMiddle();
119 bool pathRecordAbort();
120 bool pathRecordSave(
const string &path_name);
121 bool pathDelete(
const string &path_name);
124 bool pathGetList(
string &path_list);
125 bool pathRunForward();
126 bool pathRunBackward();
129 bool pathRename(
const string &old_name,
const string &new_name);
135 bool goHome(
bool dock,
int speed = 5);
142 const std::string §ion );
149 bool retrieve_video();
160 bool getNextImageSync(CObservationImagePtr& lastImage );
167 bool captureImageAsync(
CImage&out_img,
bool recttified);
169 bool isVideoStreamming()
const;
176 bool getRovioState(TRovioState &state);
181 bool getEncoders(TEncoders &encoders);
This class provides simple critical sections functionality.
A class for storing images as grayscale or RGB bitmaps.
bool m_videothread_initialized_error
bool m_videothread_initialized_done
mrpt::slam::CObservationImagePtr buffer_img
bool m_videothread_finished
This namespace contains algorithms for SLAM, localization, map building, representation of robot's ac...
A class to interface a Rovio robot (manufactured by WowWee).
This class allows loading and storing values and vectors of different types from a configuration text...
mrpt::utils::TCamera cameraParams
mrpt::synch::CCriticalSection buffer_img_cs
mrpt::system::TThreadHandle m_videoThread
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
bool m_videothread_must_exit
This structure contains the information needed to interface the threads API on each platform: ...
Structure to hold the parameters of a pinhole camera model.