You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When python track_and_move.py It occurs this question:
Traceback (most recent call last):
File "track_and_move.py", line 134, in
SimpleTrackAndMove(resolution, K,left_topic=left_topic, right_topic=right_topic, object_position_topic=object_position_topic)
TypeError: init() takes at least 4 arguments (6 given)
The source code is:
When I delete commander in def init(),
It occurs this question:
And if I add commander in the main function,
It occurs this question:
The text was updated successfully, but these errors were encountered:
remove the whole line 126 from track_and_move.py, i.e. remove rospy.init_node('track_and_move', anonymous=True), since the Commander class will call init_node on its own.
remove the commander argument from the SimpleTrackAndMove call on line 134.
Context
My relevant information about my setup.
Current Behavior
Autonomous Drone Software E06: Basic Object Tracking
When python track_and_move.py It occurs this question:
Traceback (most recent call last):
File "track_and_move.py", line 134, in
SimpleTrackAndMove(resolution, K,left_topic=left_topic, right_topic=right_topic, object_position_topic=object_position_topic)
TypeError: init() takes at least 4 arguments (6 given)
The source code is:
When I delete commander in def init(),
It occurs this question:
And if I add commander in the main function,
It occurs this question:
The text was updated successfully, but these errors were encountered: