Skip to content

Commit 0a85b49

Browse files
ARK3rSteveMacenski
authored andcommitted
nav2_controller: add loop rate log (ros-navigation#4171)
* update smac_planner README Signed-off-by: ARK3r <[email protected]> * added current controller loop rate logging Signed-off-by: ARK3r <[email protected]> * linting Signed-off-by: ARK3r <[email protected]> * uncrustify lint Signed-off-by: ARK3r <[email protected]> * Update nav2_controller/src/controller_server.cpp Signed-off-by: Steve Macenski <[email protected]> * Update nav2_controller/src/controller_server.cpp Signed-off-by: Steve Macenski <[email protected]> * Update nav2_controller/src/controller_server.cpp Signed-off-by: Steve Macenski <[email protected]> --------- Signed-off-by: ARK3r <[email protected]> Signed-off-by: Steve Macenski <[email protected]> Co-authored-by: Steve Macenski <[email protected]>
1 parent b914048 commit 0a85b49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nav2_controller/src/controller_server.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ void ControllerServer::computeControl()
424424
{
425425
std::lock_guard<std::mutex> lock(dynamic_params_lock_);
426426

427+
auto start_time = this->now();
427428
RCLCPP_INFO(get_logger(), "Received a goal, begin computing control effort.");
428429

429430
try {

0 commit comments

Comments
 (0)