Skip to content

Commit

Permalink
Fixed seg fault when trying to start the estimator.
Browse files Browse the repository at this point in the history
  • Loading branch information
iandareid committed Aug 15, 2024
1 parent f32c9d3 commit 621fba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rosplane/src/estimator_ros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ int main(int argc, char ** argv)

rclcpp::init(argc, argv);

char * use_params; // HACK: Fix in a more permanant way.
if (argc >= 1) {
char* use_params;
if (argc >= 2) {
use_params = argv[1];
}

Expand Down

0 comments on commit 621fba7

Please sign in to comment.