ros-sports / nao_lola

Apache License 2.0
6 stars 6 forks source link

Compilation speed optimization #43

Closed ijnek closed 11 months ago

ijnek commented 11 months ago

Resolves: #33

Attempt at speeding up compile speeds. Changes so far optimize header includes from rclcpp and msgpack that were taking long.

The node-creation process done by rclcpp componets is also slow, as it includes "rclcpp/rclcpp.hpp". It should only need to include the necessary header files.

The slowest part by far when compiling nao_lola_client is the "create_subscription" calls that happen in nao_lola_client, and is discussed in https://github.com/ros2/rclcpp/issues/1949