MCPcopy Create free account
hub / github.com/OctoMap/octomap / cameraPathFrameChanged

Method cameraPathFrameChanged

octovis/src/CameraFollowMode.cpp:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void CameraFollowMode::cameraPathFrameChanged(int id, int current_camera_frame) {
91 if(m_followRobotTrajectory) {
92 m_current_scan = m_start_frame + current_camera_frame;
93 emit frameChanged(m_current_scan);
94 } else {
95 m_current_cam_frame = m_start_frame + current_camera_frame;
96 emit frameChanged(m_current_cam_frame);
97 }
98}
99
100void CameraFollowMode::clearCameraPath() {
101 emit deleteCameraPath(CAMERA_PATH_ID);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected