mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +00:00
ab8f16961e
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh
20 lines
720 B
C++
20 lines
720 B
C++
#ifndef MINITAUR_SIMULATION_SETUP_H
|
|
#define MINITAUR_SIMULATION_SETUP_H
|
|
|
|
#include "LinearMath/btVector3.h"
|
|
#include "LinearMath/btQuaternion.h"
|
|
class MinitaurSetup
|
|
{
|
|
struct MinitaurSetupInternalData* m_data;
|
|
void resetPose(class b3RobotSimulatorClientAPI_NoGUI* sim);
|
|
|
|
public:
|
|
MinitaurSetup();
|
|
virtual ~MinitaurSetup();
|
|
|
|
int setupMinitaur(class b3RobotSimulatorClientAPI_NoGUI* sim, const class btVector3& startPos = btVector3(0, 0, 0), const class btQuaternion& startOrn = btQuaternion(0, 0, 0, 1));
|
|
|
|
void setDesiredMotorAngle(class b3RobotSimulatorClientAPI_NoGUI* sim, const char* motorName, double desiredAngle, double maxTorque = 3, double kp = 0.1, double kd = 0.9);
|
|
};
|
|
#endif //MINITAUR_SIMULATION_SETUP_H
|