Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in "Go to Initial: goal rejected" #1

Open
Kazimbalti opened this issue Oct 11, 2023 · 0 comments
Open

Error in "Go to Initial: goal rejected" #1

Kazimbalti opened this issue Oct 11, 2023 · 0 comments

Comments

@Kazimbalti
Copy link

Hello!
I used the project_crazyflie_gates,
I first terminal I launch: ./launch_as2.bash
then in second terminal I launch: python3 mission.py, I got the following error,

Go To Initial? (y/n): y
Waiting for threads to finish...
Exception in thread Thread-3 (initial_go_to_drones):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/kazim/aerostack2_ws/src/project_crazyflie_gates/mission.py", line 56, in initial_go_to_drones
go_to(drone_interface, path_value, frame_id=path_frame_id)
File "/home/kazim/aerostack2_ws/src/project_crazyflie_gates/mission.py", line 38, in go_to
drone_interface.go_to.go_to_point_path_facing(
File "/home/kazim/aerostack2_ws/build/as2_python_api/as2_python_api/modules/go_to_module.py", line 143, in go_to_point_path_facing
self.__go_to(point[0], point[1], point[2],
File "/home/kazim/aerostack2_ws/build/as2_python_api/as2_python_api/modules/go_to_module.py", line 81, in __go_to
self.start(msg, speed, yaw_mode, yaw_angle, frame_id, wait)
File "/home/kazim/aerostack2_ws/build/as2_python_api/as2_python_api/behavior_actions/go_to_behavior.py", line 81, in start
return super().start(goal_msg, wait_result)
File "/home/kazim/aerostack2_ws/build/as2_python_api/as2_python_api/behavior_actions/behavior_handler.py", line 157, in start
raise self.GoalRejected('Goal Rejected')
as2_python_api.behavior_actions.behavior_handler.BehaviorHandler.GoalRejected: Goal Rejected

Please guide me to resolve this issue.
I am using source file:
OS: humble ROS2

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant