关于ROS学习过程中的N多问题,纯粹自己记笔记了

(一)catkin_make编译错误

        (1)

 Could not find a package configuration file provided by
  "gazebo_ros_control" with any of the following names:

    gazebo_ros_controlConfig.cmake
    gazebo_ros_control-config.cmake

提示缺少“gazebo_ros_control”功能包,那安装就好了,但我直接使用'sudo apt-get install gazebo_ros_control"没有成功,后来用" sudo apt-get install gazebo_ros_control"安装好就cmake成功了。

    (2)头文件错误

/home/huang/move_arm/src/marm_planning/src/remove_collision_objct.cpp:2:62: fatal error: moveit/move_group_interface/move_group_interface.h: No such file or directory
compilation terminated.

缺少头文件,可能是没有完全好moveit导致check the install instructions,用下面命令安装:

sudo apt-get install ros-kinetic-moveit

 

(3)movit和gazeboo联合机械臂仿真

 

a.

Could not load controller 'gripper_controller' because controller type 'position_controllers/JointTrajectoryController' does not exist.

解决方法:

sudo apt-get ros-kinetic-joint-trajectory-controller

b.

Could not load controller 'joint_state_controller' because controller type 'joint_state_controller/JointStateController' does not exist. [ERROR] [1526437781.334745033, 0.399000000]: Use 'rosservice call controller_manager/list_controller_types' to get the

解决方法:

sudo apt-get install ros-kinetic-joint-state-controller


搞定!!!

(4)Pcap.h 问题

今天在编译一个catvehicle功能包的时候出现了这样的错误:

	
Pcap.h no such file and directory

解决方法:

sudo apt-get install libpcap-dev

 

 

 

 

 

 

你可能感兴趣的:(关于ROS学习过程中的N多问题,纯粹自己记笔记了)