15 static double ComputeForce(std::shared_ptr<HebirosGazeboGroup> hebiros_group,
16 std::shared_ptr<HebirosGazeboJoint> hebiros_joint,
17 double position,
double velocity,
double effort,
const ros::Duration& iteration_time);
19 static double ComputePositionPID(std::shared_ptr<HebirosGazeboGroup> hebiros_group,
20 std::shared_ptr<HebirosGazeboJoint> hebiros_joint,
21 double target_position,
double position,
const ros::Duration& iteration_time);
23 static double ComputeVelocityPID(std::shared_ptr<HebirosGazeboGroup> hebiros_group,
24 std::shared_ptr<HebirosGazeboJoint> hebiros_joint,
25 double target_velocity,
double velocity,
const ros::Duration& iteration_time);
27 static double ComputeEffortPID(std::shared_ptr<HebirosGazeboGroup> hebiros_group,
28 std::shared_ptr<HebirosGazeboJoint> hebiros_joint,
29 double target_effort,
double effort,
const ros::Duration& iteration_time);
31 static void SetSettings(std::shared_ptr<HebirosGazeboGroup> hebiros_group,
32 std::shared_ptr<HebirosGazeboJoint> hebiros_joint);
34 static void ChangeSettings(std::shared_ptr<HebirosGazeboGroup> hebiros_group,
35 std::shared_ptr<HebirosGazeboJoint> hebiros_joint);
37 static void SetDefaultGains(std::shared_ptr<HebirosGazeboGroup> hebiros_group,
38 std::shared_ptr<HebirosGazeboJoint> hebiros_joint);
40 static double Clip(
double x,
double low,
double high);
EIGEN_DEVICE_FUNC const Scalar & x