- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.6k
Open
Description
Bug report
Required Info:
- Operating System:
 Ubuntu22.04
- Computer:
 Thinkpad
- ROS2 Version:
 Jazzy
- Version or commit hash:
 v1.3.9
- DDS implementation:
 CycloneDDS
Steps to reproduce issue
Start the controller server with two controller plugins. All the other parameters can be kept to their default value and let the lifecycle node configure the controller server.
controller_plugins: ["FollowPath1", "FollowPath2"]
FollowPath1:
  plugin: "nav2_rotation_shim_controller::RotationShimController"
  primary_controller: "nav2_regulated_pure_pursuit_controller::RegulatedPurePursuitController"
FollowPath2:
  plugin: "nav2_mppi_controller::MPPIController"
Expected behavior
Both controllers are loaded without error.
Actual behavior
The MPPI controller (second controller to be loaded) enters reports a fault in its configuration phase when loading the parameters as vx_min has a negative value. When checking into the code, raising an error when a parameter has a negative value is a behavior of the RPP controller. [1]
[controller_server-12] [INFO] [1761137974.303031720] [controller_server]: Created controller : FollowPath2 of type nav2_mppi_controller::MPPIController
[controller_server-12] [WARN] [1761137974.320779558] [controller_server]: The value of parameter 'FollowPath2.vx_min' is incorrectly set to -0.350000, it should be >=0. Ignoring parameter update.
[controller_server-12] [ERROR] [1761137974.321174478] [controller_server]: Caught exception in callback for transition 10
[controller_server-12] [ERROR] [1761137974.321264307] [controller_server]: Original error: parameter 'FollowPath2.vx_min' could not be set: 
[controller_server-12] [WARN] [1761137974.321337982] [controller_server]: Callback returned ERROR during the transition: configure
[controller_server-12] [FATAL] [1761137974.321372749] [controller_server]: Lifecycle node controller_server does not have error state implemented
[lifecycle_manager-16] [ERROR] [1761137974.332179778] [lifecycle_manager_navigation]: Failed to change state for node: controller_server
[lifecycle_manager-16] [ERROR] [1761137974.332315367] [lifecycle_manager_navigation]: Failed to bring up all requested nodes. Aborting bringup.
Reproduction instructions
The error happens when the node is re-configured, so no specific reproduction instruction here.
Additional information
Metadata
Metadata
Assignees
Labels
No labels