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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add id and visibility_flags to Projector msg fields #345

Merged
merged 1 commit into from
May 23, 2023
Merged
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
10 changes: 9 additions & 1 deletion proto/gz/msgs/projector.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ option java_package = "com.gz.msgs";
option java_outer_classname = "ProjectorProtos";

/// \ingroup gz.msgs
/// \interface Projector
/// \interface Projector
/// \brief Information about a projector

import "gz/msgs/pose.proto";
Expand All @@ -39,4 +39,12 @@ message Projector
double near_clip = 6;
double far_clip = 7;
bool enabled = 8;

/// \brief Unique ID associated with the projector
uint32 id = 9;

/// \brief Visibility flags of a projector. When a camera's visibility_mask
/// & (bitwise AND) the projector's visibility_flags evaluates to non-zero,
/// the projected pattern will be visible to the camera.
uint32 visibility_flags = 10;
}
Loading