47 bool send_cmd_action(
int act,
int speed);
49 bool path_management(
int act);
51 bool path_management(
int act,
const std::string &path_name);
53 bool general_command(
int act, std::string &response, std::string &errormsg);
68 enum status {idle, driving_home, docking, executing_path, recording_path};
98 bool move(
char direction,
int speed=5 );
104 bool rotate(
char direction,
int speed=5 );
110 bool takeHeadMiddle();
116 bool pathRecordAbort();
117 bool pathRecordSave(
const std::string &path_name);
118 bool pathDelete(
const std::string &path_name);
121 bool pathGetList(std::string &path_list);
122 bool pathRunForward();
123 bool pathRunBackward();
126 bool pathRename(
const std::string &old_name,
const std::string &new_name);
132 bool goHome(
bool dock,
int speed = 5);
139 const std::string §ion );
146 bool retrieve_video();
157 bool getNextImageSync(mrpt::obs::CObservationImagePtr& lastImage );
166 bool isVideoStreamming()
const;
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
bool m_videothread_finished
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::obs::CObservationImagePtr buffer_img
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.