OSVR-Core
|
Implementation detail of unpacking and handling the IMU messages. More...
#include <ProcessIMUMessage.h>
Public Member Functions | |
void | operator() (boost::none_t const &) const |
template<typename Report > | |
std::enable_if< is_timestamped_report< Report >::value >::type | operator() (Report const &report) |
void | updatePose (TrackedBodyIMU &imu, util::time::TimeValue const ×tamp, OSVR_OrientationReport const &ori) |
void | updatePose (TrackedBodyIMU &imu, util::time::TimeValue const ×tamp, OSVR_AngularVelocityReport const &angVel) |
Public Attributes | |
BodyId | bodyId |
ImuMessageCategory | messageType = ImuMessageCategory::Empty |
Implementation detail of unpacking and handling the IMU messages.
|
inline |
dummy overload to handle empty messages
|
inline |
templated overload to handle real messages since they're identical except for the final data member.
Go off to individual methods for the last argument.