Skip to content

Commit 8023b47

Browse files
committed
add type for drone param in joystick node
1 parent 8caa4ff commit 8023b47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mission/joystick_interface_auv/joystick_interface_auv/joystick_interface_auv_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(self):
6565

6666
def get_parameters(self):
6767
"""Method to get the parameters from the config file."""
68-
self.declare_parameter('drone')
68+
self.declare_parameter('drone', Parameter.Type.STRING)
6969
self._drone = self.get_parameter('drone').value
7070

7171
gain_params = [

0 commit comments

Comments
 (0)