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

Use DrakeLcm instead of raw lcm. #30

Open
pangtao22 opened this issue Jun 18, 2021 · 0 comments
Open

Use DrakeLcm instead of raw lcm. #30

pangtao22 opened this issue Jun 18, 2021 · 0 comments
Assignees

Comments

@pangtao22
Copy link
Member

pangtao22 commented Jun 18, 2021

After studying the source code of drake's lcm wrapper, I think it's better to switch from lcm's original interface to drake's, for the following reasons:

  • We cannot throw exceptions in subscription callbacks, because they are invoked "indirectly through c functions".
  • We can use mock lcm for unit tests.
@pangtao22 pangtao22 self-assigned this Jun 18, 2021
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