Skip to content

Commit

Permalink
Use lock_memory by default
Browse files Browse the repository at this point in the history
Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
  • Loading branch information
saikishor and bmagyar authored Oct 31, 2024
1 parent 3d9a4f4 commit 48ec00a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller_manager/src/ros2_control_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ int main(int argc, char ** argv)
auto cm = std::make_shared<controller_manager::ControllerManager>(
executor, manager_node_name, "", cm_node_options);

const bool lock_memory = cm->get_parameter_or<bool>("lock_memory", false);
const bool lock_memory = cm->get_parameter_or<bool>("lock_memory", true);
std::string message;
if (lock_memory && !realtime_tools::lock_memory(message))
{
Expand Down

0 comments on commit 48ec00a

Please sign in to comment.