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 ChVector3d &mv=ChVector3d(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) const
 Convert this pose object to a flatbuffers pose type. More...
 
ChFrameMovingGetFrame ()
 

Constructor & Destructor Documentation

◆ SynPose()

chrono::synchrono::SynPose::SynPose ( const SynFlatBuffers::Pose *  pose)

Construct a new Pose object from a FlatBuffers pose object.

Parameters
posethe FlatBuffers pose object

Member Function Documentation

◆ ToFlatBuffers()

flatbuffers::Offset< SynFlatBuffers::Pose > chrono::synchrono::SynPose::ToFlatBuffers ( flatbuffers::FlatBufferBuilder &  builder) const

Convert this pose object to a flatbuffers pose type.

Parameters
builderthe 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