Commit 972e7820 authored by Paul Rouanet's avatar Paul Rouanet
Browse files

In init_robot, put kp and kd to 0.0

parent a13927a7
...@@ -111,6 +111,8 @@ return_type SystemBoltHardware::init_robot(const hardware_interface::HardwareInf ...@@ -111,6 +111,8 @@ return_type SystemBoltHardware::init_robot(const hardware_interface::HardwareInf
// Define the robot (ODRI). // Define the robot (ODRI).
robot_ = std::make_shared<Robot>(main_board_ptr_, joints, imu); robot_ = std::make_shared<Robot>(main_board_ptr_, joints, imu);
kp_ = 0.0;
kd_ = 0.0;
//Definition of Kp and Kd : //Definition of Kp and Kd :
/*std::cout << "Enter Kp value (3 in casual use) : "; /*std::cout << "Enter Kp value (3 in casual use) : ";
std::cin >> kp_; std::cin >> kp_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment