message: Reporting distance to landscape mesh
diff: @@ -259,6 +259,7 @@ class Vehicle {
  {
  _dynamics = NULL;
  _flightManager = NULL;
  + _landscape = NULL;
  }
  Vehicle(MultirotorDynamics * dynamics)
  @@ -284,7 +285,23 @@ class Vehicle {
  FString mapName = _pawn->GetWorld()->GetMapName();
  _mapSelected = !mapName.Contains("Untitled");
  - if (_mapSelected) {
  + // Bozo filter
  + if (!_mapSelected) {
  + error("NO MAP SELECTED");
  + return;
  + }
  +
  + // Get all actors tagged as "Landscape" in scene (should be just one!)
  + TArray<AActor*> foundLandscapes;
  + UGameplayStatics::GetAllActorsWithTag(_pawn->GetWorld(), FName("Landscape"), foundLandscapes);
  +
  + // Use the first one found
  + if (foundLandscapes.Num() == 0) {
  + debug("No landscape object found in scene");
  + }
  + else {
  + _landscape = (ALandscape *)foundLandscapes[0];
  + }
  // Reset FPS count
  _startTime = FPlatformTime::Seconds();
  @@ -317,11 +334,6 @@ class Vehicle {
  _dynamics->init(pose);
  }
  - else {
  - error("NO MAP SELECTED");
  - }
  - }
  -
  void Tick(void)
  {
  // Checking count is a hack to avoid accessing kinematics before dynamics thread is ready
  @@ -333,7 +345,7 @@ class Vehicle {
  // Grab images
  grabImages();
  - //_pawn->GetDistanceTo(_landscape);
  + if (_landscape) debug("Distance: %f", _pawn->GetDistanceTo(_landscape));
  }
  void PostInitializeComponents()
  