ROS 实记 - 2. catkin_make 编译

目的

本系列旨在 Ubuntu 16.04 上安装并使用 Kinetic 。标题具有超链接时,请根据标题链接内容操作,此处仅提示可能遇到的问题及解决方法。

准备

重点参考工具
「视频」ROS机器人操作系统入门-中国大学MOOC
「文档」中国大学MOOC—《机器人操作系统入门》课程讲义
「文档」ROS 官方文档
「代码」《机器人操作系统入门》课程代码示例

catkin_make 编译

git 提供的「代码」后,根据教程运行 catkin_make 指令

可能遇到的问题

  1. Invoking "cmake" failed

dwh@PC:~/carla-ros-bridge/catkin_ws$ catkin_make # 或 catkin build(若使用catkin_tools) Base path: /home/dwh/carla-ros-bridge/catkin_ws Source space: /home/dwh/carla-ros-bridge/catkin_ws/src Build space: /home/dwh/carla-ros-bridge/catkin_ws/build Devel space: /home/dwh/carla-ros-bridge/catkin_ws/devel Install space: /home/dwh/carla-ros-bridge/catkin_ws/install Multiple packages found with the same name "carla_ackermann_control": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_ackermann_control - ros-bridge/carla_ackermann_control Multiple packages found with the same name "carla_ackermann_msgs": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_ackermann_msgs - ros-bridge/carla_ackermann_msgs Multiple packages found with the same name "carla_ad_agent": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_ad_agent - ros-bridge/carla_ad_agent Multiple packages found with the same name "carla_ad_demo": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_ad_demo - ros-bridge/carla_ad_demo Multiple packages found with the same name "carla_common": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_common - ros-bridge/carla_common Multiple packages found with the same name "carla_manual_control": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_manual_control - ros-bridge/carla_manual_control Multiple packages found with the same name "carla_msgs": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_msgs - ros-bridge/carla_msgs Multiple packages found with the same name "carla_ros_bridge": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_ros_bridge - ros-bridge/carla_ros_bridge Multiple packages found with the same name "carla_ros_scenario_runner": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_ros_scenario_runner - ros-bridge/carla_ros_scenario_runner Multiple packages found with the same name "carla_ros_scenario_runner_types": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_ros_scenario_runner_types - ros-bridge/carla_ros_scenario_runner_types Multiple packages found with the same name "carla_spawn_objects": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_spawn_objects - ros-bridge/carla_spawn_objects Multiple packages found with the same name "carla_twist_to_control": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_twist_to_control - ros-bridge/carla_twist_to_control Multiple packages found with the same name "carla_walker_agent": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_walker_agent - ros-bridge/carla_walker_agent Multiple packages found with the same name "carla_waypoint_publisher": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_waypoint_publisher - ros-bridge/carla_waypoint_publisher Multiple packages found with the same name "carla_waypoint_types": - ros-bridge/carla-ros-bridge/src/ros-bridge/carla_waypoint_types - ros-bridge/carla_waypoint_types Multiple packages found with the same name "pcl_recorder": - ros-bridge/carla-ros-bridge/src/ros-bridge/pcl_recorder - ros-bridge/pcl_recorder Multiple packages found with the same name "ros_compatibility": - ros-bridge/carla-ros-bridge/src/ros-bridge/ros_compatibility - ros-bridge/ros_compatibility Multiple packages found with the same name "rqt_carla_control": - ros-bridge/carla-ros-bridge/src/ros-bridge/rqt_carla_control - ros-bridge/rqt_carla_control Multiple packages found with the same name "rviz_carla_plugin": - ros-bridge/carla-ros-bridge/src/ros-bridge/rviz_carla_plugin - ros-bridge/rviz_carla_plugin dwh@PC:~/carla-ros-bridge/catkin_ws$ source devel/setup.bash bash: devel/setup.bash: 没有那个文件或目录
最新发布
03-19
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值