simple_offboard: Use string literal as format string

This commit is contained in:
sfalexrog
2019-07-31 13:30:00 +03:00
parent 99e6518c90
commit 32cdce47c4

View File

@@ -214,7 +214,7 @@ bool getTelemetry(GetTelemetry::Request& req, GetTelemetry::Response& res)
res.pitch = pitch;
res.roll = roll;
} catch (const tf2::TransformException& e) {
ROS_DEBUG(e.what());
ROS_DEBUG("simple_offboard: %s", e.what());
}
if (!TIMEOUT(velocity, velocity_timeout)) {