diff --git a/src/Conversions.cc b/src/Conversions.cc index 2f013eca07d..a81a490cf1a 100644 --- a/src/Conversions.cc +++ b/src/Conversions.cc @@ -1453,6 +1453,7 @@ sdf::Sensor gazebo::convert(const msgs::Sensor &_in) ignerr << "Attempting to convert an navsat sensor message, but the " << "message does not have a navsat nested message.\n"; } + out.SetNavSatSensor(sensor); } else if (out.Type() == sdf::SensorType::ALTIMETER)