You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though the code executes just fine(no memory leaks), I'm getting this warning:
UserWarning: This message has already been written once. Be very careful that you're not setting Text/Struct/List fields more than once, since that will cause memory leaks (both in memory and in the serialized data). You can disable this warning by calling the clear_write_flag method of this object after every write.
packet = imu_msg.to_bytes()
Is this unintended behaviour(just ignore the warning ?) or is there another way to do this properly ?
The text was updated successfully, but these errors were encountered:
I'm polling a sensor every 50ms which triggers a callback that publishes the sensor packet.
Even though the code executes just fine(no memory leaks), I'm getting this warning:
Is this unintended behaviour(just ignore the warning ?) or is there another way to do this properly ?
The text was updated successfully, but these errors were encountered: