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

mpc_lateral_controller does not compile #3182

Closed
3 tasks done
VRichardJP opened this issue Mar 27, 2023 · 5 comments
Closed
3 tasks done

mpc_lateral_controller does not compile #3182

VRichardJP opened this issue Mar 27, 2023 · 5 comments

Comments

@VRichardJP
Copy link
Contributor

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

FAILED: CMakeFiles/mpc_lateral_controller_lib.dir/src/mpc.cpp.o 
ccache /usr/bin/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DDEFAULT_RMW_IMPLEMENTATION=rmw_fastrtps_cpp -DRCUTILS_ENABLE_FAULT_INJECTION -DROS_DISTRO_HUMBLE -DROS_PACKAGE_NAME=\"mpc_lateral_controller\" -Dmpc_lateral_controller_lib_EXPORTS -I/home/sig/autoware/src/universe/autoware.universe/control/mpc_lateral_controller/include -isystem /usr/include/eigen3 -isystem /home/sig/autoware/install/autoware_auto_vehicle_msgs/include/autoware_auto_vehicle_msgs -isystem /home/sig/autoware/install/autoware_auto_planning_msgs/include/autoware_auto_planning_msgs -isystem /home/sig/autoware/install/tier4_debug_msgs/include/tier4_debug_msgs -isystem /home/sig/autoware/install/autoware_auto_control_msgs/include/autoware_auto_control_msgs -isystem /opt/ros/humble/include/diagnostic_msgs -isystem /opt/ros/humble/include -isystem /opt/ros/humble/include/geometry_msgs -isystem /opt/ros/humble/include/rclcpp -isystem /opt/ros/humble/include/rclcpp_components -isystem /opt/ros/humble/include/std_msgs -isystem /opt/ros/humble/include/tf2 -isystem /opt/ros/humble/include/tf2_ros -isystem /home/sig/autoware/install/trajectory_follower_base/include -isystem /home/sig/autoware/install/motion_utils/include -isystem /home/sig/autoware/install/vehicle_info_util/include -isystem /home/sig/autoware/install/interpolation/include -isystem /home/sig/autoware/install/tier4_autoware_utils/include -isystem /home/sig/autoware/install/osqp_interface/include -isystem /home/sig/autoware/install/autoware_auto_perception_msgs/include/autoware_auto_perception_msgs -isystem /home/sig/autoware/install/autoware_adapi_v1_msgs/include/autoware_adapi_v1_msgs -isystem /opt/ros/humble/include/builtin_interfaces -isystem /opt/ros/humble/include/tf2_geometry_msgs -isystem /opt/ros/humble/include/unique_identifier_msgs -isystem /opt/ros/humble/include/visualization_msgs -isystem /opt/ros/humble/include/rosidl_runtime_c -isystem /opt/ros/humble/include/rcutils -isystem /opt/ros/humble/include/rosidl_typesupport_interface -isystem /opt/ros/humble/include/fastcdr -isystem /opt/ros/humble/include/rosidl_runtime_cpp -isystem /opt/ros/humble/include/rosidl_typesupport_fastrtps_cpp -isystem /opt/ros/humble/include/rmw -isystem /opt/ros/humble/include/rosidl_typesupport_fastrtps_c -isystem /opt/ros/humble/include/rosidl_typesupport_introspection_c -isystem /opt/ros/humble/include/rosidl_typesupport_introspection_cpp -isystem /home/sig/autoware/install/autoware_auto_geometry_msgs/include/autoware_auto_geometry_msgs -isystem /home/sig/autoware/install/autoware_auto_mapping_msgs/include/autoware_auto_mapping_msgs -isystem /opt/ros/humble/include/action_msgs -isystem /opt/ros/humble/include/nav_msgs -isystem /opt/ros/humble/include/ament_index_cpp -isystem /opt/ros/humble/include/libstatistics_collector -isystem /opt/ros/humble/include/rcl -isystem /opt/ros/humble/include/rcl_interfaces -isystem /opt/ros/humble/include/rcl_logging_interface -isystem /opt/ros/humble/include/rcl_yaml_param_parser -isystem /opt/ros/humble/include/libyaml_vendor -isystem /opt/ros/humble/include/tracetools -isystem /opt/ros/humble/include/rcpputils -isystem /opt/ros/humble/include/statistics_msgs -isystem /opt/ros/humble/include/rosgraph_msgs -isystem /opt/ros/humble/include/rosidl_typesupport_cpp -isystem /opt/ros/humble/include/rosidl_typesupport_c -isystem /opt/ros/humble/include/class_loader -isystem /opt/ros/humble/include/composition_interfaces -isystem /opt/ros/humble/include/message_filters -isystem /opt/ros/humble/include/rclcpp_action -isystem /opt/ros/humble/include/rcl_action -isystem /opt/ros/humble/include/tf2_msgs -isystem /opt/ros/humble/include/sensor_msgs -fdiagnostics-color -O2 -g -DNDEBUG -fPIC -Wall -Wextra -Wpedantic -Werror -std=c++17 -MD -MT CMakeFiles/mpc_lateral_controller_lib.dir/src/mpc.cpp.o -MF CMakeFiles/mpc_lateral_controller_lib.dir/src/mpc.cpp.o.d -o CMakeFiles/mpc_lateral_controller_lib.dir/src/mpc.cpp.o -c /home/sig/autoware/src/universe/autoware.universe/control/mpc_lateral_controller/src/mpc.cpp
In file included from /home/sig/autoware/src/universe/autoware.universe/control/mpc_lateral_controller/include/mpc_lateral_controller/mpc.hpp:21,
                 from /home/sig/autoware/src/universe/autoware.universe/control/mpc_lateral_controller/src/mpc.cpp:15:
/home/sig/autoware/src/universe/autoware.universe/control/mpc_lateral_controller/include/mpc_lateral_controller/mpc_utils.hpp:19:10: fatal error: helper_functions/angle_utils.hpp: No such file or directory
   19 | #include "helper_functions/angle_utils.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

Looks like it is related to:
b38eae6

We can't get rid of the header as it is used for autoware::common::helper_functions::wrap_angle function.

Expected behavior

Can compile

Actual behavior

Does not

Steps to reproduce

compile

Versions

No response

Possible causes

No response

Additional context

No response

@BonoloAWF
Copy link

@VRichardJP could you please label the issues you create? This helps the Software WG to prioritise issues at the weekly meetings.

@VRichardJP
Copy link
Contributor Author

@BonoloAWF I don't think I have such power :(

@VRichardJP
Copy link
Contributor Author

Fixed by #3178

@BonoloAWF
Copy link

@BonoloAWF I don't think I have such power :(

It should work now, thanks!

@TakaHoribe
Copy link
Contributor

@VRichardJP Thank you for finding my brake. Just memo for this issue.

I failed to find the build brake since I just run colcon build --packages-up-to mpc_lateral_controller and it succeeded. Also, the CI build has passed.
But there only is a library in the mpc_lateral_controller and I couldn't find the build failure before the PR merge.

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 a pull request may close this issue.

3 participants