Mujoco KDL Wrapper  0.5.1
MuJoCo + KDL bridge for robot kinematics and dynamics
Loading...
Searching...
No Matches
InitTest Class Reference
Inheritance diagram for InitTest:

Protected Member Functions

void SetUp () override
int joint (int i) const
double qpos (int i) const
int dof (int i) const
int servo (int i) const

Protected Attributes

mj_kdl::SceneSpec sc_
mj_kdl::Env env_
mj_kdl::Robot s

Detailed Description

Definition at line 50 of file test_init.cpp.

Member Function Documentation

◆ dof()

int InitTest::dof ( int i) const
inlineprotected

Definition at line 68 of file test_init.cpp.

References env_, and joint().

◆ joint()

int InitTest::joint ( int i) const
inlineprotected

Definition at line 66 of file test_init.cpp.

References env_, and s.

Referenced by dof(), qpos(), and servo().

◆ qpos()

double InitTest::qpos ( int i) const
inlineprotected

Definition at line 67 of file test_init.cpp.

References env_, and joint().

◆ servo()

int InitTest::servo ( int i) const
inlineprotected

Definition at line 69 of file test_init.cpp.

References env_, and joint().

◆ SetUp()

void InitTest::SetUp ( )
inlineoverrideprotected

Definition at line 57 of file test_init.cpp.

References env_, mj_kdl::init_env(), mj_kdl::init_robot_from_mjcf(), s, and sc_.

Member Data Documentation

◆ env_

mj_kdl::Env InitTest::env_
protected

Definition at line 54 of file test_init.cpp.

Referenced by dof(), joint(), qpos(), servo(), and SetUp().

◆ s

mj_kdl::Robot InitTest::s
protected

Definition at line 55 of file test_init.cpp.

Referenced by joint(), and SetUp().

◆ sc_

mj_kdl::SceneSpec InitTest::sc_
protected

Definition at line 53 of file test_init.cpp.

Referenced by SetUp().


The documentation for this class was generated from the following file: