Skip to content

Commit

Permalink
fix: rename func
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota committed Feb 27, 2024
1 parent bfd4ec9 commit c524799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class DrivingEnvironmentAnalyzer : public rclcpp::Node
explicit DrivingEnvironmentAnalyzer(const rclcpp::NodeOptions & node_options);

private:
bool isEnoughData(const bool use_map_in_bag);
bool isDataReady(const bool use_map_in_bag);
void onMap(const HADMapBin::ConstSharedPtr map_msg);
void analyze();

Expand Down
4 changes: 2 additions & 2 deletions driving_environment_analyzer/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,12 +281,12 @@ DrivingEnvironmentAnalyzer::DrivingEnvironmentAnalyzer(const rclcpp::NodeOptions

reader_.open(bag_filename);

Check warning on line 282 in driving_environment_analyzer/src/node.cpp

View check run for this annotation

Codecov / codecov/patch

driving_environment_analyzer/src/node.cpp#L282

Added line #L282 was not covered by tests

if (!isEnoughData(use_map_in_bag)) {
if (!isDataReady(use_map_in_bag)) {
rclcpp::shutdown();

Check warning on line 285 in driving_environment_analyzer/src/node.cpp

View check run for this annotation

Codecov / codecov/patch

driving_environment_analyzer/src/node.cpp#L284-L285

Added lines #L284 - L285 were not covered by tests
}
}

Check warning on line 287 in driving_environment_analyzer/src/node.cpp

View check run for this annotation

Codecov / codecov/patch

driving_environment_analyzer/src/node.cpp#L287

Added line #L287 was not covered by tests

bool DrivingEnvironmentAnalyzer::isEnoughData(const bool use_map_in_bag)
bool DrivingEnvironmentAnalyzer::isDataReady(const bool use_map_in_bag)

Check warning on line 289 in driving_environment_analyzer/src/node.cpp

View check run for this annotation

Codecov / codecov/patch

driving_environment_analyzer/src/node.cpp#L289

Added line #L289 was not covered by tests
{
const std::string topic_route = "/planning/mission_planning/route";
const std::string topic_map = "/map/vector_map";

Check warning on line 292 in driving_environment_analyzer/src/node.cpp

View check run for this annotation

Codecov / codecov/patch

driving_environment_analyzer/src/node.cpp#L291-L292

Added lines #L291 - L292 were not covered by tests
Expand Down

0 comments on commit c524799

Please sign in to comment.