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

Fix template_module header #17960

Merged
merged 1 commit into from Jul 21, 2021
Merged

Fix template_module header #17960

merged 1 commit into from Jul 21, 2021

Conversation

potaito
Copy link
Contributor

@potaito potaito commented Jul 21, 2021

I have not tried compiling the template module itself, but when using it as a template, the following where the additions that I had to make in order for it to compile.

  • SubscriptionInterval.hpp includes Subscription.hpp, but not vice versa. So I swapped the two.
  • The time literal 1_s is defined in the namespace time_literals

- SubscriptionInterval.hpp includes Subscription.hpp, but not vice versa
- The time literal 1_s is defined in the namespace time_literals
@potaito potaito requested a review from dagar July 21, 2021 12:55
@dagar
Copy link
Member

dagar commented Jul 21, 2021

We should probably be building this to keep it alive.

Similar to examples/work_item. https://github.com/PX4/PX4-Autopilot/tree/master/src/examples/work_item

@dagar dagar merged commit bd17653 into master Jul 21, 2021
@dagar dagar deleted the Patch-for-module-template branch July 21, 2021 13:44
@potaito
Copy link
Contributor Author

potaito commented Jul 21, 2021

Thanks for merging.

Yeah that would make sense!

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.

None yet

2 participants