MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
20 "Command completed successfully",
25 "The device did not recognize the command",
30 "An packet with an invalid checksum was received by the device",
35 "One or more parameters to the command were not valid",
40 "The device could not complete the command",
45 "The device reported a timeout condition",
52 "Acknowledgement/reply code from the device after a command is issued",
78 "The field descriptor of the command this field acknowledges.",
87 "Result of the command.",
99 "Sent by the device to indicate the result of a command.",
115 "MIP data descriptor",
124 "Decimation from the base rate",
136 "Descriptor rate information",
142 template<
typename T,
size_t N>
191 "2-dimensional vector of floats",
197 "3-dimensional vector of floats",
203 "4-dimensional vector of floats",
211 "2-dimensional vector of doubles",
217 "3-dimensional vector of doubles",
223 "4-dimensional vector of doubles",
228 static_assert(std::is_floating_point<T>::value,
"Expected either float or double");
229 static_assert(N >= 2 && N <= 4,
"N should be in the range [2,4].");
231 static constexpr
inline const StructInfo& value = std::is_same<T,double>::value ? values_d[N-2] : values_f[N-2];
255 "Represents a 3D matrix of floats.",
280 "Represents a 3D matrix of doubles.",
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
static constexpr C::mip_cmd_result NACK_INVALID_CHECKSUM
Reserved.
Definition: mip_result.hpp:36
static constexpr C::mip_cmd_result NACK_INVALID_PARAM
A parameter was not a supported value.
Definition: mip_result.hpp:37
Vector is a wrapper around an array of some type T, usually float or double.
Definition: common.hpp:42
bool extract(Ts &... values)
Deserializes one or more values.
Definition: serializer.hpp:949
Definition: mip_structures.hpp:67
Represents the status of a MIP command.
Definition: mip_result.hpp:24
static constexpr C::mip_cmd_result NACK_COMMAND_UNKNOWN
Command not supported.
Definition: mip_result.hpp:35
Definition: common.hpp:25
static constexpr C::mip_cmd_result ACK_OK
Command completed successfully.
Definition: mip_result.hpp:34
Vector< double, 9 > Matrix3d
Definition: common.hpp:125
C::mip_cmd_result value
Definition: mip_result.hpp:45
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:21
static constexpr C::mip_cmd_result NACK_COMMAND_TIMEOUT
Internal device timeout. Use MIP_STATUS_TIMEDOUT for command timeouts.
Definition: mip_result.hpp:39
Vector< float, 9 > Matrix3f
Definition: common.hpp:122
bool insert(const Ts &... values)
Serializes one or more values.
Definition: serializer.hpp:923
static constexpr C::mip_cmd_result NACK_COMMAND_FAILED
The device could not complete the command.
Definition: mip_result.hpp:38