Skip to content

Commit

Permalink
review: apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeLaine committed May 13, 2024
1 parent 61dbceb commit ed2b615
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions px4_ros2_cpp/src/components/mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ bool ModeBase::onRegistered()

activateSetpointType(*_setpoint_types[0]);
if (_setpoint_update_rate_hz < FLT_EPSILON) {
// Do not use default setpoint rate if rate was already set by user
setSetpointUpdateRateFromSetpointTypes();
}

Expand Down

0 comments on commit ed2b615

Please sign in to comment.