diff --git a/include/ftl/protocol/channels.hpp b/include/ftl/protocol/channels.hpp index 1ab1bee713ea939cde2c8bb9ca78f829f3cc24d1..33c7b858ef84da7404ffa2508a1ad49cdfb09f53 100644 --- a/include/ftl/protocol/channels.hpp +++ b/include/ftl/protocol/channels.hpp @@ -70,6 +70,7 @@ enum struct Channel : int { kTags = 79, /// Array of string tag names KDescription = 80, kSelectPoint = 81, /// A selected X,Y screen point + kStereoPose = 82, /// A pair of poses for stereo rendering kAccelerometer = 90, /// Eigen::Vector3f kGyroscope = 91, /// Eigen::Vector3f diff --git a/src/channelUtils.cpp b/src/channelUtils.cpp index 00219073e3ee4f369039c52c1513fa1ce25ea73c..ec26168ecb78c33ce8ed8d30ad3b7e49ebd8dfe7 100644 --- a/src/channelUtils.cpp +++ b/src/channelUtils.cpp @@ -128,6 +128,10 @@ static const std::unordered_map<Channel,ChannelInfo> info = { {Channel::kTags, {"Tags", -1}}, {Channel::KDescription, {"Decription", -1}}, {Channel::kSelectPoint, {"SelectPoint", -1}}, + {Channel::kStereoPose, {"StereoPose", -1}}, + + {Channel::kAccelerometer, {"Accelerometer", -1}}, + {Channel::kGyroscope, {"Gyroscope", -1}}, {Channel::kBrightness, {"Brightness", -1}}, {Channel::kContrast, {"Contrast", -1}},