To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit b648f2dc authored by Yvan Bosshard's avatar Yvan Bosshard
Browse files

Fixed position nan bug

parent 855a9d07
......@@ -192,7 +192,9 @@ void d_fall_pps::UWBDataCallback(const CrazyflieData &data)
CFData_uwb.yaw = CFData_vicon.yaw;
if(enableUWB && useUWB)
{
localizationPublisher.publish(CFData_uwb);
}
bag.write("UWBData", ros::Time::now(), CFData_uwb);
}
......
......@@ -111,6 +111,8 @@ int main(int argc, char* argv[])
initKalmanStates();
loadUWBSettings();
ROS_INFO_STREAM("[UWBDataPublisher] started!");
ros::spin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment