Skip to content

Commit 61188ea

Browse files
authored
Add id and visibility flags field to projector msg (#345)
Signed-off-by: Ian Chen <ichen@openrobotics.org>
1 parent cfe6c2e commit 61188ea

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

proto/gz/msgs/projector.proto

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ option java_package = "com.gz.msgs";
2121
option java_outer_classname = "ProjectorProtos";
2222

2323
/// \ingroup gz.msgs
24-
/// \interface Projector
24+
/// \interface Projector
2525
/// \brief Information about a projector
2626

2727
import "gz/msgs/pose.proto";
@@ -39,4 +39,12 @@ message Projector
3939
double near_clip = 6;
4040
double far_clip = 7;
4141
bool enabled = 8;
42+
43+
/// \brief Unique ID associated with the projector
44+
uint32 id = 9;
45+
46+
/// \brief Visibility flags of a projector. When a camera's visibility_mask
47+
/// & (bitwise AND) the projector's visibility_flags evaluates to non-zero,
48+
/// the projected pattern will be visible to the camera.
49+
uint32 visibility_flags = 10;
4250
}

0 commit comments

Comments
 (0)