Remove default disable_torque_ in openarm
This commit is contained in:
parent
596c498598
commit
9618e107a5
@ -199,8 +199,6 @@ hardware_interface::return_type OpenArmHW::read(
|
|||||||
hardware_interface::return_type OpenArmHW::write(
|
hardware_interface::return_type OpenArmHW::write(
|
||||||
const rclcpp::Time & /*time*/, const rclcpp::Duration & /*period*/)
|
const rclcpp::Time & /*time*/, const rclcpp::Duration & /*period*/)
|
||||||
{
|
{
|
||||||
disable_torque_ = false;
|
|
||||||
|
|
||||||
if (disable_torque_){
|
if (disable_torque_){
|
||||||
// refresh motor state on write
|
// refresh motor state on write
|
||||||
for(size_t i = 0; i < TOTAL_DOF; ++i){
|
for(size_t i = 0; i < TOTAL_DOF; ++i){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user