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

Add driver direction #110

Merged
merged 6 commits into from
Jan 14, 2025

Conversation

patrickelectric
Copy link
Member

@patrickelectric patrickelectric commented Jan 14, 2025

Initial version that allows drivers to implement direction, allowing to receive or/and send

@joaoantoniocardoso
Copy link
Member

@patrickelectric can you solve the conflict?

Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
@patrickelectric
Copy link
Member Author

@joaoantoniocardoso check now

Copy link
Member

@joaoantoniocardoso joaoantoniocardoso left a comment

Choose a reason for hiding this comment

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

Just some minor things, feel free to merge after considering them

}

#[tokio::test(flavor = "multi_thread", worker_threads = 10)]
#[ignore]
Copy link
Member

Choose a reason for hiding this comment

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

why ignore this?

Copy link
Member Author

@patrickelectric patrickelectric Jan 14, 2025

Choose a reason for hiding this comment

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

The tests can't run in parallel, since will conflict with each other, I did run them serialized, but no luck, we need to improve this in the future.

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, I see. We have the same issue on the mavlink camera manager, but there the serial test works. This is one sad downside of using singletons :(

Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
@joaoantoniocardoso joaoantoniocardoso merged commit 664d7a5 into bluerobotics:master Jan 14, 2025
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