Decrease gain for safety (#78)
We observed that executing actions with large position differences can result in dangerously high velocities, depending on the controller. So, the default values should be lower.
This commit is contained in:
parent
940b109423
commit
eeca95ed4b
@ -101,8 +101,8 @@ class OpenArm_v10HW : public hardware_interface::SystemInterface {
|
|||||||
const uint32_t DEFAULT_GRIPPER_RECV_CAN_ID = 0x18;
|
const uint32_t DEFAULT_GRIPPER_RECV_CAN_ID = 0x18;
|
||||||
|
|
||||||
// Default gains
|
// Default gains
|
||||||
const std::vector<double> DEFAULT_KP = {150.0, 150.0, 150.0, 120.0,
|
const std::vector<double> DEFAULT_KP = {70.0, 70.0, 70.0, 60.0,
|
||||||
10.0, 10.0, 10.0};
|
10.0, 10.0, 10.0};
|
||||||
const std::vector<double> DEFAULT_KD = {2.75, 2.5, 2.0, 2.0, 0.7, 0.6, 0.5};
|
const std::vector<double> DEFAULT_KD = {2.75, 2.5, 2.0, 2.0, 0.7, 0.6, 0.5};
|
||||||
|
|
||||||
const double GRIPPER_JOINT_0_POSITION = 0.044;
|
const double GRIPPER_JOINT_0_POSITION = 0.044;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user