Skip to content

Commit

Permalink
added default camera calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Wiesen committed Aug 17, 2022
1 parent e5c3630 commit 2932e32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tello/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
('share/ament_index/resource_index/packages', ['resource/tello']),
('share/tello', ['package.xml', 'resource/ost.txt', 'resource/ost.yaml']),
(os.path.join('share', package_name), glob('launch/*.launch.py')),
(os.path.join('share', package_name), glob('resource/*.yaml')),
],
install_requires=['setuptools'],
zip_safe=True,
Expand Down
2 changes: 1 addition & 1 deletion tello/tello/tello_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, node):
self.node.declare_parameter('tf_base', 'map')
self.node.declare_parameter('tf_drone', 'drone')
self.node.declare_parameter('tf_pub', True)
self.node.declare_parameter('camera_info_file', '')
self.node.declare_parameter('camera_info_file', '$(find tello)/resources/ost.yaml')

# Get parameters
self.connect_timeout = float(self.node.get_parameter('connect_timeout').value)
Expand Down

0 comments on commit 2932e32

Please sign in to comment.