28 #define CAMERA_PATH_ID 13 29 #define ROBOT_TRAJECTORY_ID 14 32 : QObject(), m_scan_graph(graph), m_current_scan(1), m_current_cam_frame(1), m_number_cam_frames(0),
33 m_followRobotTrajectory(false) {
42 if(frame <= m_scan_graph->size()) {
63 std::cerr <<
"Error in " << __FILE__ <<
":" << __LINE__ <<
" : invalid node ID "<< i-1 << std::endl;
CameraFollowMode(octomap::ScanGraph *graph=NULL)
void deleteCameraPath(int id)
unsigned int m_number_cam_frames
#define ROBOT_TRAJECTORY_ID
void cameraPathStopped(int id)
void playCameraPath(int id, int start_frame)
void frameChanged(unsigned int frame)
ScanNode * getNodeByID(unsigned int id)
void appendToCameraPath(int id, const octomath::Pose6D &pose)
octomap::ScanGraph * m_scan_graph
void removeFromCameraPath()
void updateCameraPath(int id, int frame)
void setScanGraph(octomap::ScanGraph *graph)
unsigned int m_start_frame
bool m_followRobotTrajectory
void jumpToCamFrame(int id, int frame)
void stopCameraPath(int id)
void changeNumberOfFrames(unsigned count)
void addCurrentToCameraPath(int id, int frame)
unsigned int m_current_scan
void changeCamPose(const octomath::Pose6D &pose)
unsigned int m_current_cam_frame
void jumpToFrame(unsigned int frame)
void cameraPathFrameChanged(int id, int current_camera_frame)
virtual ~CameraFollowMode()
void scanGraphAvailable(bool available)