Skip to content

Commit

Permalink
Merge pull request #15 from ethz-asl/fix/init_callback
Browse files Browse the repository at this point in the history
Fix init_callback
  • Loading branch information
marco-tranzatto authored Mar 21, 2018
2 parents 44f6104 + 084c1d4 commit 2b079ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion piksi_multi_rtk_ros/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>piksi_multi_rtk_ros</name>
<version>1.0.4</version>
<version>1.0.5</version>
<description>
ROS driver for Piksi Multi RTK GPS Receiver.
</description>
Expand Down
2 changes: 1 addition & 1 deletion piksi_multi_rtk_ros/src/piksi_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 2b079ea

Please # to comment.