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

Feature/adding included file #58

Conversation

SatoSan3
Copy link
Contributor

I got some of the following errors when I did a build with ros2 jazzy.

In file included from /home/ubuntu/colcon_ws/src/emcl2_ros2/src/Scan.cpp:4:         
/home/ubuntu/colcon_ws/src/emcl2_ros2/include/emcl2/Scan.h:29:21: error: ‘uint16_t’ 
was not declared in this scope
   29 |         std::vector<uint16_t> directions_16bit_;
      |                     ^~~~~~~~
/home/ubuntu/colcon_ws/src/emcl2_ros2/include/emcl2/Scan.h:9:1: note: ‘uint16_t’ is 
defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    8 | #include <vector>
  +++ |+#include <cstdint>
    9 | 

I included cstdint to use uint16 and uint8

@SatoSan3 SatoSan3 closed this Nov 15, 2024
@uhobeike
Copy link
Member

@SatoSan3
We apologize for the lack of response.
Why did you close it?

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