-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initialize inflate_cone_ variable. #1988
Initialize inflate_cone_ variable. #1988
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what you actually want to do is to make the get
match the declare
so that parameter is used. Looks like a porting copy-pasta error
Codecov Report
@@ Coverage Diff @@
## main #1988 +/- ##
==========================================
- Coverage 79.28% 79.20% -0.09%
==========================================
Files 221 221
Lines 10621 10621
==========================================
- Hits 8421 8412 -9
- Misses 2200 2209 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* Initialize inflate_cone_ variable. * initialize inflate_cone_ based on parameter. * Increase the sleep time in the tests makes the costmap test always succeed on my machine.
* initialize variables in inflation layer (#1970) * Fix zero waypoints crash (#1978) * return if the number of waypoints is zero. * terminate the action. * Succeed action instead of terminating. * Add IsBatteryLow condition node (#1974) * Add IsBatteryLow condition node * Update default battery topic and switch to battery % * Fix test * Switch to sensor_msgs/BatteryState * Add option to use voltage by default or switch to percentage * Add sensor_msgs dependency in package.xml * Make percentage default over voltage * Update parameter list * Initialize inflate_cone_ variable. (#1988) * Initialize inflate_cone_ variable. * initialize inflate_cone_ based on parameter. * Increase the sleep time in the tests makes the costmap test always succeed on my machine. * Add timeouts to all spin_until_future_complete calls (#1998) * Add timeouts to all spin_until_future_complete calls Signed-off-by: Sarthak Mittal <[email protected]> * Update default timeout value Signed-off-by: Sarthak Mittal <[email protected]> * Controllers should not be influenced by time jumps or slew (#2012) * Controllers should not be influenced by time jumps Therefore use rclcpp::GenericRate<std::chrono::steady_clock> instead of rclcpp::Rate Signed-off-by: Martijn Buijs <[email protected]> * Change to using `rclcpp::WallRate` for better readability Signed-off-by: Martijn Buijs <[email protected]> * Fix max path cycles for case where map has larger Y dimension than X dimension (#2017) * Fix max path cycles for case where map has larger Y dimension than X dimension * Improve readability * fix ament_cpplint and ament_uncrustify issues * fix minor cherry pick conflict mistake * bump version to 0.4.4 Co-authored-by: Michael Ferguson <[email protected]> Co-authored-by: Wilco Bonestroo <[email protected]> Co-authored-by: Sarthak Mittal <[email protected]> Co-authored-by: Martijn Buijs <[email protected]> Co-authored-by: justinIRBT <[email protected]>
* Initialize inflate_cone_ variable. * initialize inflate_cone_ based on parameter. * Increase the sleep time in the tests makes the costmap test always succeed on my machine.
Basic Info
Description of contribution in a few bullet points
Valgrind reported uninitialized variables in range_test. After this initialization valgrind does not report errors anymore.
Description of documentation updates required from your changes
No documentation changes required.
Future work that may be required in bullet points
The unit and integration tests are unstable. We still have to find what the problem is.