Git Product home page Git Product logo

ros2_latency_analysis's People

Contributors

betzto avatar johannesbetz avatar mojomex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ros2_latency_analysis's Issues

problem with build autoware

Env

  • ubuntu 22.04
  • ros2 humble
  • autoware universe

I have successfully built Autoware Universe from source code. Then, I cloned a new repository to test your work.
I have executed

sudo apt-get install clang-13 libclang1-13 libclang-13-dev libclang-cpp13-dev libclang-cpp13 CC=/usr/bin/clang CXX=/usr/bin/clang++ colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
P.S.: When I first ran it, there was an error as follows. So, I installed Clang. I checked its version, which showed Clang 14

CMake Error at /usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake:49 (message): Could not find compiler set in environment variable CC: /usr/bin/clang. Call Stack (most recent call first): CMakeLists.txt:2 (project)

then I built it again

CC=/usr/bin/clang CXX=/usr/bin/clang++ colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON

it showed an error as
CMake Error at /home/zyn/Desktop/autoware/install/ament_cmake_gtest/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Target "route-test" links to target "OpenMP::OpenMP_CXX" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): /home/zyn/Desktop/autoware/install/ament_cmake_gtest/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /home/zyn/Desktop/autoware/install/ament_cmake_gtest/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_ros/cmake/ament_add_ros_isolated_gtest.cmake:33 (ament_add_gtest) CMakeLists.txt:98 (ament_add_ros_isolated_gtest)

The question is, I don't know how to fix this error. Is it related to the version of Clang, or is it just as you have announced?
Some ROS 2 projects might need small compatibility adjustments of their CMake files and possibly of their source code
What adjustments should I make to my CMake files?

problem when run './build.sh"

Hello,thank you for your excllent work ,bug i got a problem when i try to test your work.problem its here:
$ ./build.sh
In file included from ASTUtils.cpp:5:
In file included from ./ASTUtils.h:8:
In file included from /usr/lib/llvm-13/include/clang/ASTMatchers/ASTMatchers.h:47:
In file included from /usr/lib/llvm-13/include/clang/AST/ASTContext.h:17:
/usr/lib/llvm-13/include/clang/AST/ASTContextAllocate.h:17:10: fatal error: 'cstddef' file not found
#include
^~~~~~~~~
1 error generated.
In file included from CallbackRegHandler.cpp:5:
./CallbackRegHandler.h:8:10: fatal error: 'algorithm' file not found
#include
^~~~~~~~~~~
1 error generated.
In file included from DataWriter.cpp:5:
./DataWriter.h:8:10: fatal error: 'iostream' file not found
#include
^~~~~~~~~~
1 error generated.
In file included from Matchers.cpp:4:
In file included from ./Matchers.h:10:
In file included from /usr/lib/llvm-13/include/clang/ASTMatchers/ASTMatchFinder.h:43:
In file included from /usr/lib/llvm-13/include/clang/ASTMatchers/ASTMatchers.h:47:
In file included from /usr/lib/llvm-13/include/clang/AST/ASTContext.h:17:
/usr/lib/llvm-13/include/clang/AST/ASTContextAllocate.h:17:10: fatal error: 'cstddef' file not found
#include
^~~~~~~~~
1 error generated.
In file included from MemberExprHandler.cpp:5:
./MemberExprHandler.h:8:10: fatal error: 'algorithm' file not found
#include
^~~~~~~~~~~
1 error generated.
In file included from NodeDeclHandler.cpp:5:
./NodeDeclHandler.h:8:10: fatal error: 'algorithm' file not found
#include
^~~~~~~~~~~
1 error generated.
In file included from NodeNameHandler.cpp:5:
In file included from ./NodeNameHandler.h:8:
In file included from ./ASTUtils.h:8:
In file included from /usr/lib/llvm-13/include/clang/ASTMatchers/ASTMatchers.h:47:
In file included from /usr/lib/llvm-13/include/clang/AST/ASTContext.h:17:
/usr/lib/llvm-13/include/clang/AST/ASTContextAllocate.h:17:10: fatal error: 'cstddef' file not found
#include
^~~~~~~~~
1 error generated.
In file included from ROS2InternalDependencyChecker.cpp:5:
In file included from /usr/lib/llvm-13/include/llvm/Support/CommandLine.h:22:
In file included from /usr/lib/llvm-13/include/llvm/ADT/ArrayRef.h:12:
In file included from /usr/lib/llvm-13/include/llvm/ADT/Hashing.h:48:
In file included from /usr/lib/llvm-13/include/llvm/Support/ErrorHandling.h:17:
/usr/lib/llvm-13/include/llvm/Support/Compiler.h:21:10: fatal error: 'new' file not found
#include
^~~~~
1 error generated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.