view_controller_msgs/CameraTrajectory Message

File: view_controller_msgs/CameraTrajectory.msg

Raw Message Definition

# This message defines a trajectory to move a camera along at and several options how to do that.  

# Array of camera poses and interpolation speeds defining a trajectory.
CameraMovement[] trajectory

# Sets this as the camera attached (fixed) frame before movement.
# An empty string will leave the attached frame unchanged.
string target_frame

# A flag indicating if the camera yaw axis is fixed to +Z of the camera attached_frame.
# (defaults to false)
bool allow_free_yaw_axis

# The interaction style that should be activated when movement is done.
uint8 mouse_interaction_mode
uint8 NO_CHANGE = 0 # Leaves the control style unchanged.
uint8 ORBIT     = 1 # Activates the Orbit-style controller.
uint8 FPS       = 2 # Activates the First-Person-Shooter-style controller.

# A flag to enable or disable user interaction.
# (defaults to false so that interaction is enabled)
bool interaction_disabled

# If false, the duration of the animated trajectory is equal to the time passed in the real world using ros::WallTime.
#  This can lead to an inconsistent frame rate of the published camera view images if your computer is not fast enough.
# If true, the trajectory is rendered frame by frame. This leads to:
#  -> a consistent frame rate of the published camera view images,
#  -> a video with the desired trajectory duration when composed of the camera view images,
#  -> BUT the trajectory might be slower in real time, if your computer is not fast enough. 
# (defaults to false)
bool render_frame_by_frame

# Desired frames per second when rendering frame by frame.
int8 frames_per_second

Compact Message Definition

uint8 NO_CHANGE=0
uint8 ORBIT=1
uint8 FPS=2
view_controller_msgs/CameraMovement[] trajectory
string target_frame
bool allow_free_yaw_axis
uint8 mouse_interaction_mode
bool interaction_disabled
bool render_frame_by_frame
int8 frames_per_second