Skip to content

Commit

Permalink
[jsk_robot_startup/quadruped_joystick_teleop] use oy_teleop_ only whe…
Browse files Browse the repository at this point in the history
…n publish_cmd_vel_ is true
  • Loading branch information
k-okada committed Dec 13, 2024
1 parent e83234b commit 13e2136
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,9 @@ class TeleopManager
}

// TwistTeleop
joy_teleop_->joyCallback(msg);
if ( publish_cmd_vel_ ) {
joy_teleop_->joyCallback(msg);
}
}

bool isPublishCmdVel() {
Expand Down

0 comments on commit 13e2136

Please sign in to comment.