SimObject.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <VirtualRobot/SceneObject.h>
4 
5 #include <MujocoX/libraries/Simulation/SimEntity.h>
6 
7 
8 namespace mujoco
9 {
10  class Data;
11 
12  struct SimObject
13  {
14  SimObject();
15  SimObject(const std::string& name);
17 
18  void update(mujoco::Model& model);
19  void updateSceneObjectPose(const Data& data, float lengthScaling = 1.);
20 
21  const std::string& name() const;
22 
23 
24  mujoco::SimBody body;
25  mujoco::SimGeom geom;
26 
28  };
29 
30 }
mujoco::SimObject::update
void update(mujoco::Model &model)
mujoco
Definition: SimObject.h:8
data
uint8_t data[1]
Definition: EtherCATFrame.h:68
mujoco::SimObject::sceneObject
VirtualRobot::SceneObjectPtr sceneObject
Definition: SimObject.h:27
mujoco::SimObject
Definition: SimObject.h:12
mujoco::SimObject::body
mujoco::SimBody body
Definition: SimObject.h:24
mujoco::SimObject::SimObject
SimObject()
mujoco::SimObject::updateSceneObjectPose
void updateSceneObjectPose(const Data &data, float lengthScaling=1.)
scene3D::SceneObjectPtr
boost::intrusive_ptr< SceneObject > SceneObjectPtr
Definition: PointerDefinitions.h:40
mujoco::SimObject::geom
mujoco::SimGeom geom
Definition: SimObject.h:25
mujoco::SimObject::name
const std::string & name() const