Skip to content

Commit

Permalink
add close file
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Nov 17, 2023
1 parent 192c5bc commit a810e76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions healthcheck/healthcheck_slam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class HealthCheckNode : public rclcpp::Node
{
std::ofstream healthFile("/health_status.txt");
healthFile << status;
healthFile.close();
}

void msgCallback(const nav_msgs::msg::OccupancyGrid::SharedPtr msg)
Expand Down

0 comments on commit a810e76

Please sign in to comment.