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

Manually trigger replanning #3

Closed
Kavin-Kailash opened this issue Mar 14, 2021 · 2 comments
Closed

Manually trigger replanning #3

Kavin-Kailash opened this issue Mar 14, 2021 · 2 comments

Comments

@Kavin-Kailash
Copy link

Hello. Thanks for the great work.

I am interested in using this package in conjunction with a custom exploration planner, which provides path segments at some fixed interval of time.

I can see that the ego_replan_fsm file can be modified to accept waypoints from a external topic, however I am unclear as to how to make the planner track a new set of waypoints, while it's already executing the previous one.

Thanks in advance!!

@bigsuperZZZX
Copy link
Member

Sorry for replying so late since I'm super busy recently!
It's easy to achieve that. All you need is to
First: change the "flight_type" to "1" in run_in_sim.launch, line 60 to enable waypoint input when flying.
Second: noticeing the callback function in ego_replan_fsm.cpp, line 64, you need to publish that topic which is a waypoint to make the drone to follow.

@bigsuperZZZX
Copy link
Member

Hello, if you have no other questions, please close this issue.

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

2 participants