Mujoco KDL Wrapper  0.2.2
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 "example_paths.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 125 of file test_mjcf_pos_ctrl.cpp.

◆ TEST_F() [1/3]

TEST_F ( MjcfPosCtrlTest ,
ClampCtrlrange  )

Definition at line 94 of file test_mjcf_pos_ctrl.cpp.

References mj_kdl::update().

◆ TEST_F() [2/3]

TEST_F ( MjcfPosCtrlTest ,
QfrcAppliedUnchangedInPositionMode  )

Definition at line 114 of file test_mjcf_pos_ctrl.cpp.

References mj_kdl::update().

◆ TEST_F() [3/3]

TEST_F ( MjcfPosCtrlTest ,
TrajectoryTracking  )

Definition at line 74 of file test_mjcf_pos_ctrl.cpp.

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