chrono::synchrono::SynPose Class Reference
Description
Wrapper for several constructs that are common to many flatbuffer messages (Vectors, Quaternions, frames)
#include <SynMessageUtils.h>
Public Member Functions | |
SynPose (const ChVector<> &mv=ChVector<>(0, 0, 0), const ChQuaternion<> &mq=ChQuaternion<>(1, 0, 0, 0)) | |
Construct a new Pose object. | |
SynPose (const ChFrameMoving<> &frame) | |
Construct a new Pose object. | |
SynPose (const SynFlatBuffers::Pose *pose) | |
Construct a new Pose object from a FlatBuffers pose object. More... | |
flatbuffers::Offset< SynFlatBuffers::Pose > | ToFlatBuffers (flatbuffers::FlatBufferBuilder &builder) |
Convert this pose object to a flatbuffers pose type. More... | |
ChFrameMoving & | GetFrame () |
Constructor & Destructor Documentation
◆ SynPose()
chrono::synchrono::SynPose::SynPose | ( | const SynFlatBuffers::Pose * | pose | ) |
Construct a new Pose object from a FlatBuffers pose object.
- Parameters
-
pose the FlatBuffers pose object
Member Function Documentation
◆ ToFlatBuffers()
flatbuffers::Offset< SynFlatBuffers::Pose > chrono::synchrono::SynPose::ToFlatBuffers | ( | flatbuffers::FlatBufferBuilder & | builder | ) |
Convert this pose object to a flatbuffers pose type.
- Parameters
-
builder the FlatBuffer builder used to construct messages
- Returns
- flatbuffers::Offset<SynFlatBuffers::Pose> the flatbuffer pose
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_synchrono/flatbuffer/message/SynMessageUtils.h
- /builds/uwsbel/chrono/src/chrono_synchrono/flatbuffer/message/SynMessageUtils.cpp