mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
Fix avoiding TF_REPEATED in publishing setpoint frame
This commit is contained in:
@@ -525,7 +525,7 @@ void publish(const ros::Time stamp)
|
||||
|
||||
// publish setpoint frame
|
||||
if (!setpoint.child_frame_id.empty()) {
|
||||
if (setpoint.header.stamp == position_msg.header.stamp) {
|
||||
if (setpoint.header.stamp >= position_msg.header.stamp) {
|
||||
return; // avoid TF_REPEATED_DATA warnings
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user