Mujoco KDL Wrapper  0.1.0
MuJoCo + KDL bridge for robot kinematics and dynamics
Loading...
Searching...
No Matches
test_mjcf_pos_ctrl.cpp File Reference
#include "mj_kdl_wrapper/mj_kdl_wrapper.hpp"
#include <gtest/gtest.h>
#include <algorithm>
#include <cmath>
#include <filesystem>
#include <string>

Go to the source code of this file.

Classes

class  MjcfPosCtrlTest
 

Functions

 TEST_F (MjcfPosCtrlTest, TrajectoryTracking)
 
 TEST_F (MjcfPosCtrlTest, ClampCtrlrange)
 
 TEST_F (MjcfPosCtrlTest, QfrcAppliedUnchangedInPositionMode)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 124 of file test_mjcf_pos_ctrl.cpp.

◆ TEST_F() [1/3]

TEST_F ( MjcfPosCtrlTest  ,
ClampCtrlrange   
)

Definition at line 93 of file test_mjcf_pos_ctrl.cpp.

References mj_kdl::update().

◆ TEST_F() [2/3]

TEST_F ( MjcfPosCtrlTest  ,
QfrcAppliedUnchangedInPositionMode   
)

Definition at line 113 of file test_mjcf_pos_ctrl.cpp.

References mj_kdl::update().

◆ TEST_F() [3/3]

TEST_F ( MjcfPosCtrlTest  ,
TrajectoryTracking   
)

Definition at line 73 of file test_mjcf_pos_ctrl.cpp.

References mj_kdl::step(), and mj_kdl::update().