Skip to content
Snippets Groups Projects
Commit 8d14455e authored by Arnaud Taffanel's avatar Arnaud Taffanel
Browse files

#45: Fix typo that broke sending external position

parent ad058539
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ class Localization(): ...@@ -106,7 +106,7 @@ class Localization():
pk = CRTPPacket() pk = CRTPPacket()
pk.port = CRTPPort.LOCALIZATION pk.port = CRTPPort.LOCALIZATION
pk.channel = self.POSITON_CH pk.channel = self.POSITION_CH
pk.data = struct.pack('<fff', pos[0], pos[1], pos[2]) pk.data = struct.pack('<fff', pos[0], pos[1], pos[2])
self._cf.send_packet(pk) self._cf.send_packet(pk)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment