Skip to content

Commit

Permalink
Update odom transform to include crazyflie name
Browse files Browse the repository at this point in the history
  • Loading branch information
knmcguire authored Aug 29, 2024
1 parent 933f70c commit 182af34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crazyflie/scripts/crazyflie_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def _log_odom_data_callback(self, timestamp, data, logconf, uri):

t_base = TransformStamped()
t_base.header.stamp = self.get_clock().now().to_msg()
t_base.header.frame_id = 'odom'
t_base.header.frame_id = cf_name +'/odom'
t_base.child_frame_id = cf_name
t_base.transform.translation.x = x
t_base.transform.translation.y = y
Expand Down

0 comments on commit 182af34

Please sign in to comment.