We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5203ad8 + a0e33ee commit 91f341aCopy full SHA for 91f341a
polygon_coverage_ros/include/polygon_coverage_ros/coverage_planner.h
@@ -215,8 +215,8 @@ class CoveragePlanner : public PolygonPlannerBase {
215
break;
216
}
217
if (!altitude_.has_value()) {
218
- ROS_ERROR("No altitude specified. Cannot set sensor model.");
219
- break;
+ ROS_WARN("No altitude specified. Creating default altitude 1m.");
+ altitude_ = std::make_optional(1.0);
220
221
sensor_model_ = std::make_shared<Frustum>(
222
altitude_.value(), lateral_fov_.value(), lateral_overlap_.value());
0 commit comments