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

takeoff_move_and_land example responses updated #7

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

MehmetCagriK
Copy link
Collaborator

Hardcoded IP is changed to 127.0.0.1 because out of the box, UE instance runs on local machine.

All boolean responses will reuse mutable res variable.

client_arm_disarm line was using confirm_connection operation's response. It uses its own response now.

Response assignments are added for operations like geo move, go home and landing. These are done because the operations won't return true (complete successfully) in each call. For example, go_home_async returns false but info says "got home".

Hardcoded IP is changed to 127.0.0.1 because out of the box, UE instance
runs on local machine.

All boolean responses will reuse mutable res variable.

client_arm_disarm line was using confirm_connection operation's
response. It uses its own response now.

Response assignments are added for operations like geo move, go home and
landing. These are done because the operations won't return true
(complete successfully) in each call. For example, go_home_async returns
false but info says "got home".
@MehmetCagriK
Copy link
Collaborator Author

I didn't want to change nature of the examples, just minor fixes and refactoring. I will try to check other examples with same lens when I have time.

Copy link
Owner

@Sollimann Sollimann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some nit comments, other than that it looks good. Let me know when you have made the chances and I'll approve it :)

Also, I think we should probably add a few tasks to the Kanban board I just created so that it is easier to track roadmap and progress of tasks. It also helps us to have a common understanding of what needs to be done. Feel free to add cards :) https://github.com/users/Sollimann/projects/1

examples/multirotor/takeoff_move_and_land.rs Outdated Show resolved Hide resolved
examples/multirotor/takeoff_move_and_land.rs Outdated Show resolved Hide resolved
examples/multirotor/takeoff_move_and_land.rs Outdated Show resolved Hide resolved
examples/multirotor/takeoff_move_and_land.rs Outdated Show resolved Hide resolved
@MehmetCagriK
Copy link
Collaborator Author

Added some nit comments, other than that it looks good. Let me know when you have made the chances and I'll approve it :)

Also, I think we should probably add a few tasks to the Kanban board I just created so that it is easier to track roadmap and progress of tasks. It also helps us to have a common understanding of what needs to be done. Feel free to add cards :) https://github.com/users/Sollimann/projects/1

Kanban board link gives 404 error.

@Sollimann
Copy link
Owner

You should have access now

1 similar comment
@Sollimann
Copy link
Owner

You should have access now

@Sollimann
Copy link
Owner

I'm currently on vacation, but will have a look again when I'm back in front of a computer :)

Copy link
Owner

@Sollimann Sollimann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some nit changes, other than that, lgtm!

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

Successfully merging this pull request may close these issues.

2 participants