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

Remove unused code from slotcar / readonly #140

Merged
merged 6 commits into from
Dec 23, 2024

Conversation

luca-della-vedova
Copy link
Member

Fairly straightforward (and I tried to keep single self descriptive commits), most of the code is unused.

I'm trying to cleanup some of the code to make deprecation of rmf_robot_sim_common easier in the future

Since we use a single threaded executor and spin in a blocking call we
don't need to protect variables in callbacks with a mutex

Signed-off-by: Luca Della Vedova <[email protected]>
This is only necessary for plugins that use joint control, which is not
the case for the new plugins

Signed-off-by: Luca Della Vedova <[email protected]>
Signed-off-by: Luca Della Vedova <[email protected]>
Again since we use a single threaded executor + blocking spin_some we
don't need a mutex

Signed-off-by: Luca Della Vedova <[email protected]>
Signed-off-by: Luca Della Vedova <[email protected]>
Copy link
Member

@xiyuoh xiyuoh left a comment

Choose a reason for hiding this comment

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

LGTM! Tested with demos and things are working as they should

@luca-della-vedova luca-della-vedova merged commit 40a2262 into main Dec 23, 2024
5 checks passed
@luca-della-vedova luca-della-vedova deleted the luca/slotcar_cleanup branch December 23, 2024 06:48
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