We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f3c7a5 commit 794b77cCopy full SHA for 794b77c
diff_drive_controller/src/diff_drive_controller.cpp
@@ -705,9 +705,8 @@ controller_interface::CallbackReturn DiffDriveController::configure_side(
705
706
bool DiffDriveController::on_set_chained_mode(bool chained_mode)
707
{
708
- // Always accept switch to/from chained mode
709
- (void)chained_mode;
710
- return true;
+ // Always accept switch to/from chained mode (without linting type-cast error)
+ return true || chained_mode;
711
}
712
713
std::vector<hardware_interface::CommandInterface>
0 commit comments