Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sensor_msgs] add PanoramaInfo.msg and update CMakeLists.txt #171

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sensor_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ add_message_files(
MultiEchoLaserScan.msg
NavSatFix.msg
NavSatStatus.msg
PanoramaInfo.msg
PointCloud.msg
PointCloud2.msg
PointField.msg
Expand Down
32 changes: 32 additions & 0 deletions sensor_msgs/msg/PanoramaInfo.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This message defines meta information for a panorama image. It should
# be in the same namespace with a image topic.

#######################################################################
# Image acquisition info #
#######################################################################

# Time of image acquisition, panorama image coordinate frame ID
Header header # Header timestamp should be acquisition time of image
# Header frame_id should be frame of panorama image
# origin of frame should be projection center
# +x should point to the front of a sphere
# +z should point to the top of a sphere

#######################################################################
# Image projection info #
#######################################################################

# The projection model from spherical view to a flat image.
# E.g. "Equirectangular"
string projection_model

#######################################################################
# Field of View Parameters #
#######################################################################

# Specifying field of view of a panorama image.
# theta, phi are azimuthal and polar angle of spherical coordinate.
float64 theta_min
float64 theta_max
float64 phi_min
float64 phi_max