20#ifndef _MBSIMCONTROl_MOTION_OBSERVER_H__
21#define _MBSIMCONTROl_MOTION_OBSERVER_H__
23#include "mbsim/observers/observer.h"
36namespace MBSimControl {
42 std::string saved_frame, saved_position_signal, saved_orientation_signal;
45 Signal *orientation{
nullptr};
46 std::shared_ptr<OpenMBV::RigidBody> openMBVBody;
47 fmatvec::Vec3 rOQ, rOP, rPQ, cardan;
48 fmatvec::SqrMat3 AIK, AIB, ABK;
52 void setFrameOfReference(
MBSim::Frame *frame_) { frame = frame_; }
53 void setPositionSignal(
Signal* position_) { position = position_; }
54 void setOrientationSignal(
Signal* orientation_) { orientation = orientation_; }
55 void init(
InitStage stage,
const MBSim::InitConfigSet &config)
override;
57 void initializeUsingXML(xercesc::DOMElement *element)
override;
Definition: motion_observer.h:40
Signal.
Definition: signal_.h:38