25 #ifndef INCLUDED_IMUMessage_h_GUID_BF9DF56D_F7CB_4E92_C9E6_B44C56C8138D 26 #define INCLUDED_IMUMessage_h_GUID_BF9DF56D_F7CB_4E92_C9E6_B44C56C8138D 32 #include <boost/none_t.hpp> 33 #include <boost/variant.hpp> 47 enum class ImuMessageCategory { Empty, Orientation, AngularVelocity };
56 : imuPtr(&myImu), timestamp(tv), data(d) {}
69 template <
typename ReportType>
72 ReportType
const &d) {
98 #endif // INCLUDED_IMUMessage_h_GUID_BF9DF56D_F7CB_4E92_C9E6_B44C56C8138D
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
TimestampedImuReport< ReportType > makeImuReport(TrackedBodyIMU &myImu, util::time::TimeValue const &tv, ReportType const &d)
Generic constructor/factory function.
Definition: IMUMessage.h:71
A wrapper for a template parameter pack of types.
Definition: List.h:52
Definition: TrackedBodyIMU.h:44
Header providing a C++ wrapper around TimeValueC.h.
An IMU report data structure, along with the report time and the internal tracking system's pointer t...
Definition: IMUMessage.h:51
boost::variant< boost::none_t, TimestampedOrientation, TimestampedAngVel > IMUMessage
A "typesafe tagged-union" variant that can hold an IMU report data along with the timestamp and the p...
Definition: IMUMessage.h:93
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81