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:
Daijiro Fukuda 2026-01-14 18:00:01 +09:00 committed by GitHub
parent 940b109423
commit eeca95ed4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,7 +101,7 @@ 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};