diff --git a/piksi_multi_rtk_ros/package.xml b/piksi_multi_rtk_ros/package.xml index 11a0630e..156c6523 100644 --- a/piksi_multi_rtk_ros/package.xml +++ b/piksi_multi_rtk_ros/package.xml @@ -1,7 +1,7 @@ piksi_multi_rtk_ros - 1.0.4 + 1.0.5 ROS driver for Piksi Multi RTK GPS Receiver. diff --git a/piksi_multi_rtk_ros/src/piksi_multi.py b/piksi_multi_rtk_ros/src/piksi_multi.py index 27eeb956..38988379 100755 --- a/piksi_multi_rtk_ros/src/piksi_multi.py +++ b/piksi_multi_rtk_ros/src/piksi_multi.py @@ -428,7 +428,7 @@ def callback(msg, **metadata): for attr in attrs: if attr == 'flags': # Least significat three bits of flags indicate status. - if (sbp_msg.flags & 0x07) == 0: + if (sbp_message.flags & 0x07) == 0: return # Invalid message, do not publish it. setattr(ros_message, attr, getattr(sbp_message, attr))