小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
在vscode里面rclcpp/rclcpp.hpp error
-
"includePath": [
"/home/alpha/ros2_humble/install/rosbag2_compression_zstd/include/",
"/home/alpha/ros2_humble/install/mcap_vendor/include/",
"/home/alpha/ros2_humble/install/rviz_visual_testing_framework/include/",
"/home/alpha/ros2_humble/install/rviz_default_plugins/include/",
"/home/alpha/ros2_humble/install/rviz_common/include/",
"/home/alpha/ros2_humble/install/rosbag2_transport/include/",
"/home/alpha/ros2_humble/install/rosbag2_compression/include/",
"/home/alpha/ros2_humble/install/rosbag2_cpp/include/",
"/home/alpha/ros2_humble/install/rosbag2_storage_default_plugins/include/",
"/home/alpha/ros2_humble/install/rosbag2_storage/include/",
"/home/alpha/ros2_humble/install/camera_info_manager/include/",
"/home/alpha/ros2_humble/install/camera_calibration_parsers/include/",
"/home/alpha/ros2_humble/install/interactive_markers/include/",
"/home/alpha/ros2_humble/install/visualization_msgs/include/",
"/home/alpha/ros2_humble/install/robot_state_publisher/include/",
"/home/alpha/ros2_humble/install/kdl_parser/include/",
"/home/alpha/ros2_humble/install/urdf/include/",
"/home/alpha/ros2_humble/install/urdf_parser_plugin/include/",
"/home/alpha/ros2_humble/install/turtlesim/include/",
"/home/alpha/ros2_humble/install/tf2_sensor_msgs/include/",
"/home/alpha/ros2_humble/install/tf2_kdl/include/",
"/home/alpha/ros2_humble/install/tf2_geometry_msgs/include/",
"/home/alpha/ros2_humble/install/tf2_eigen/include/",
"/home/alpha/ros2_humble/install/tf2_bullet/include/",
"/home/alpha/ros2_humble/install/tf2_ros/include/",
"/home/alpha/ros2_humble/install/tf2_msgs/include/",
"/home/alpha/ros2_humble/install/test_msgs/include/",
"/home/alpha/ros2_humble/install/rosbag2_storage_mcap_testdata/include/",
"/home/alpha/ros2_humble/install/ros2cli_test_interfaces/include/",
"/home/alpha/ros2_humble/install/image_transport/include/",
"/home/alpha/ros2_humble/install/message_filters/include/",
"/home/alpha/ros2_humble/install/laser_geometry/include/",
"/home/alpha/ros2_humble/install/rclcpp_action/include/",
"/home/alpha/ros2_humble/install/rcl_action/include/",
"/home/alpha/ros2_humble/install/example_interfaces/include/",
"/home/alpha/ros2_humble/install/action_tutorials_interfaces/include/",
"/home/alpha/ros2_humble/install/action_msgs/include/",
"/home/alpha/ros2_humble/install/unique_identifier_msgs/include/",
"/home/alpha/ros2_humble/install/trajectory_msgs/include/",
"/home/alpha/ros2_humble/install/tlsf_cpp/include/",
"/home/alpha/ros2_humble/install/rqt_gui_cpp/include/",
"/home/alpha/ros2_humble/install/rosbag2_test_common/include/",
"/home/alpha/ros2_humble/install/rclcpp_lifecycle/include/",
"/home/alpha/ros2_humble/install/logging_demo/include/",
"/home/alpha/ros2_humble/install/image_tools/include/",
"/home/alpha/ros2_humble/install/rclcpp_components/include/",
"/home/alpha/ros2_humble/install/intra_process_demo/include/",
"/home/alpha/ros2_humble/install/examples_rclcpp_cbg_executor/include/",
"/home/alpha/ros2_humble/install/rclcpp/include/",
"/home/alpha/ros2_humble/install/rcl_lifecycle/include/",
"/home/alpha/ros2_humble/install/libstatistics_collector/include/",
"/home/alpha/ros2_humble/install/rcl/include/",
"/home/alpha/ros2_humble/install/rmw_fastrtps_dynamic_cpp/include/",
"/home/alpha/ros2_humble/install/rmw_fastrtps_cpp/include/",
"/home/alpha/ros2_humble/install/rmw_fastrtps_shared_cpp/include/",
"/home/alpha/ros2_humble/install/tracetools/include/",
"/home/alpha/ros2_humble/install/tlsf/include/",
"/home/alpha/ros2_humble/install/qt_gui_cpp/include/",
"/home/alpha/ros2_humble/install/pluginlib/include/",
"/home/alpha/ros2_humble/install/tf2_eigen_kdl/include/",
"/home/alpha/ros2_humble/install/tf2/include/",
"/home/alpha/ros2_humble/install/stereo_msgs/include/",
"/home/alpha/ros2_humble/install/std_srvs/include/",
"/home/alpha/ros2_humble/install/shape_msgs/include/",
"/home/alpha/ros2_humble/install/map_msgs/include/",
"/home/alpha/ros2_humble/install/sensor_msgs/include/",
"/home/alpha/ros2_humble/install/nav_msgs/include/",
"/home/alpha/ros2_humble/install/diagnostic_msgs/include/",
"/home/alpha/ros2_humble/install/geometry_msgs/include/",
"/home/alpha/ros2_humble/install/actionlib_msgs/include/",
"/home/alpha/ros2_humble/install/std_msgs/include/",
"/home/alpha/ros2_humble/install/statistics_msgs/include/",
"/home/alpha/ros2_humble/install/shared_queues_vendor/include/",
"/home/alpha/ros2_humble/install/rviz_rendering/include/",
"/home/alpha/ros2_humble/install/rttest/include/",
"/home/alpha/ros2_humble/install/rmw_connextdds_common/include/",
"/home/alpha/ros2_humble/install/rosgraph_msgs/include/",
"/home/alpha/ros2_humble/install/rosbag2_interfaces/include/",
"/home/alpha/ros2_humble/install/rmw_dds_common/include/",
"/home/alpha/ros2_humble/install/composition_interfaces/include/",
"/home/alpha/ros2_humble/install/rcl_interfaces/include/",
"/home/alpha/ros2_humble/install/pendulum_msgs/include/",
"/home/alpha/ros2_humble/install/lifecycle_msgs/include/",
"/home/alpha/ros2_humble/install/builtin_interfaces/include/",
"/home/alpha/ros2_humble/install/rosidl_typesupport_cpp/include/",
"/home/alpha/ros2_humble/install/rosidl_typesupport_introspection_cpp/include/",
"/home/alpha/ros2_humble/install/rosidl_typesupport_c/include/",
"/home/alpha/ros2_humble/install/rosidl_typesupport_introspection_c/include/",
"/home/alpha/ros2_humble/install/rosidl_typesupport_fastrtps_c/include/",
"/home/alpha/ros2_humble/install/rosidl_typesupport_fastrtps_cpp/include/",
"/home/alpha/ros2_humble/install/rosidl_runtime_cpp/include/",
"/home/alpha/ros2_humble/install/rcl_yaml_param_parser/include/",
"/home/alpha/ros2_humble/install/rmw/include/",
"/home/alpha/ros2_humble/install/rosidl_runtime_c/include/",
"/home/alpha/ros2_humble/install/rosidl_typesupport_interface/include/",
"/home/alpha/ros2_humble/install/resource_retriever/include/",
"/home/alpha/ros2_humble/install/class_loader/include/",
"/home/alpha/ros2_humble/install/rcpputils/include/",
"/home/alpha/ros2_humble/install/rcl_logging_interface/include/",
"/home/alpha/ros2_humble/install/rcutils/include/",
"/home/alpha/ros2_humble/install/performance_test_fixture/include/",
"/home/alpha/ros2_humble/install/mimick_vendor/include/",
"/home/alpha/ros2_humble/install/libyaml_vendor/include/",
"/home/alpha/ros2_humble/install/keyboard_handler/include/",
"/home/alpha/ros2_humble/install/ament_index_cpp/include/",
"/home/alpha/Desktop/ros2_ws/src/node_demo/include/",
"/usr/include/**",
"/home/alpha/ros2_humble/src/ros2/rclcpp/rclcpp/include"
这是我的includepath,很奇怪的是在这个路径里面但是无法识别 -
debug过不了但是编译能过,很奇怪