wbc
test_robot_model.hpp
Go to the documentation of this file.
1#ifndef TEST_ROBOT_MODEL_HPP
2#define TEST_ROBOT_MODEL_HPP
3
4#include <base/samples/RigidBodyStateSE3.hpp>
5#include <base/samples/Joints.hpp>
7
8namespace wbc {
9void printRbs(base::samples::RigidBodyStateSE3 rbs);
10base::samples::Joints makeRandomJointState(std::vector<std::string> joint_names);
11base::samples::RigidBodyStateSE3 makeRandomFloatingBaseState();
12void testFK(RobotModelPtr robot_model, const std::string &tip_frame, bool verbose=false);
13void testSpaceJacobian(RobotModelPtr robot_model, const std::string &tip_frame, bool verbose=false);
14void testBodyJacobian(RobotModelPtr robot_model, const std::string &tip_frame, bool verbose=false);
15void testCoMJacobian(RobotModelPtr robot_model, bool verbose=false);
16void testDynamics(RobotModelPtr robot_model, bool verbose);
17}
18#endif
Definition ContactsAccelerationConstraint.cpp:3
void testSpaceJacobian(RobotModelPtr robot_model, const string &tip_frame, bool verbose)
Definition test_robot_model.cpp:99
base::samples::RigidBodyStateSE3 makeRandomFloatingBaseState()
Definition test_robot_model.cpp:30
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:204
base::samples::Joints makeRandomJointState(vector< string > joint_names)
Definition test_robot_model.cpp:16
void testCoMJacobian(RobotModelPtr robot_model, bool verbose)
Definition test_robot_model.cpp:189
void testBodyJacobian(RobotModelPtr robot_model, const string &tip_frame, bool verbose)
Definition test_robot_model.cpp:142
void printRbs(base::samples::RigidBodyStateSE3 rbs)
Definition test_robot_model.cpp:7
void testDynamics(RobotModelPtr robot_model, bool verbose)
Definition test_robot_model.cpp:226
void testFK(RobotModelPtr robot_model, const string &tip_frame, bool verbose)
Definition test_robot_model.cpp:59