Comments (8)
我知道问题在哪里了。
在as_arm_control中有一句:
# include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS} /home/.../catkin_ws/devel/include/
)
之前没有改成我的地址,所以它找不到在什么地方链接那个头文件。
from as_6dof_arm.
@cookiegg
CheckCollisionValid.h文件是由as_arm_description/srv/CheckCollisionValid.srv文件自动生成的,在as_arm_description/CMakeList.txt中添加这个srv文件编译就可以得到CheckCollisionValid.h文件了
from as_6dof_arm.
## Generate services in the 'srv' folder
add_service_files(
FILES
#CheckCollisionValid.srv
)
直接去掉.srv前的注释号没用,然后我看了
http://wiki.ros.org/catkin/CMakeLists.txt
感觉没错阿。
后来又把注释号加上去,恢复你原来代码的样子,多跑了一遍catkin_make,竟然通过了。这是为什么?
from as_6dof_arm.
@cookiegg
CMakeLists.txt文件只在as_arm_description包中编译CheckCollisionValid.srv,同时在as_arm_control包中生成CheckCollision可执行程序
from as_6dof_arm.
[ERROR] [1515919756.271613351, 0.583000000]: Could not load controller 'joint1_position_controller' because controller type 'effort_controllers/JointPositionController' does not exist. [INFO] [WallTime: 1515919756.272817] [0.583000] Controller Spawner: Waiting for service controller_manager/unload_controller [INFO] [WallTime: 1515919756.274696] [0.584000] Loading controller: joint_state_controller [ERROR] [1515919756.277628640, 0.585000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types [INFO] [WallTime: 1515919756.353850] [0.646000] Controller Spawner: Loaded controllers: joint_state_controller [INFO] [WallTime: 1515919756.356930] [0.646000] Started controllers: joint_state_controller [ERROR] [WallTime: 1515919757.278603] [1.474000] Failed to load joint1_position_controller [INFO] [WallTime: 1515919757.278903] [1.474000] Loading controller: joint2_position_controller [ERROR] [1515919757.281405765, 1.477000000]: Could not load controller 'joint2_position_controller' because controller type 'effort_controllers/JointPositionController' does not exist. [ERROR] [1515919757.281454009, 1.477000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types [ERROR] [WallTime: 1515919758.282727] [2.447000] Failed to load joint2_position_controller [INFO] [WallTime: 1515919758.283153] [2.447000] Loading controller: joint3_position_controller [ERROR] [1515919758.285937638, 2.450000000]: Could not load controller 'joint3_position_controller' because controller type 'effort_controllers/JointPositionController' does not exist. [ERROR] [1515919758.286063303, 2.451000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types Warning [Publisher.cc:134] Queue limit reached for topic /gazebo/default/pose/local/info, deleting message. This warning is printed only once. [ERROR] [WallTime: 1515919759.286319] [3.396000] Failed to load joint3_position_controller [INFO] [WallTime: 1515919759.286770] [3.397000] Loading controller: joint4_position_controller [ERROR] [1515919759.289423078, 3.399000000]: Could not load controller 'joint4_position_controller' because controller type 'effort_controllers/JointPositionController' does not exist. [ERROR] [1515919759.289463580, 3.399000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types [ERROR] [WallTime: 1515919760.290640] [4.395000] Failed to load joint4_position_controller [INFO] [WallTime: 1515919760.290979] [4.395000] Loading controller: joint5_position_controller [ERROR] [1515919760.293248830, 4.397000000]: Could not load controller 'joint5_position_controller' because controller type 'effort_controllers/JointPositionController' does not exist. [ERROR] [1515919760.293284884, 4.397000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types [ERROR] [WallTime: 1515919761.293638] [5.388000] Failed to load joint5_position_controller [INFO] [WallTime: 1515919761.294034] [5.388000] Loading controller: joint6_position_controller [ERROR] [1515919761.298466382, 5.393000000]: Could not load controller 'joint6_position_controller' because controller type 'effort_controllers/JointPositionController' does not exist. [ERROR] [1515919761.298527565, 5.393000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types [ERROR] [WallTime: 1515919762.299042] [6.382000] Failed to load joint6_position_controller [INFO] [WallTime: 1515919762.299386] [6.382000] Loading controller: joint7_position_controller [ERROR] [1515919762.301778814, 6.385000000]: Could not load controller 'joint7_position_controller' because controller type 'effort_controllers/JointPositionController' does not exist. [ERROR] [1515919762.301899165, 6.385000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types [ERROR] [WallTime: 1515919763.302343] [7.362000] Failed to load joint7_position_controller
@cookiegg @yao62995
启动gazebo仿真环境:
roslaunch as_arm_gazebo as_arm_bringup.launch 运行该指令出现的问题,想问一下这个是什么原因呢?麻烦了,谢谢
环境:
ubuntu14.04.5
ros-indigo
gazebo2.0:
from as_6dof_arm.
Thanks ORZ
from as_6dof_arm.
作者大佬您好。我也遇到了这个错误,我按照网上在CMakeLists.txt里把那个#去掉了,但是也不行,一直有这个错误,卡了好多天了,您可以帮忙看下吗?可以留个微信吗?或者麻烦您可以加一下我微信吗?13363167547
谢谢大佬!!!!!
from as_6dof_arm.
为什么我改完了还是报错
from as_6dof_arm.
Related Issues (12)
- 请问有没有人遇到这样的情况?如何解决呢? HOT 1
- 这是用深度强化学习进行机械臂的避障运动规划?
- ERROR: cannot launch node of type [moveit_simple_grasps/moveit_simple_grasps_server]: moveit_simple_grasps HOT 1
- gazebo:can't locate node [cube_link_pose.py] in package [as_arm_gazebo] HOT 2
- grasp 生成器:Grasp configuration parameter `pregrasp_time_from_start` missing from rosparam server. HOT 9
- English Description
- 联系方式
- /usr/bin/ld: 找不到 -lpthreads
- check_collision.cpp除了自身碰撞,它不能检测与障碍物之间的碰撞吗
- gazebo:unknown macro name: xacro:base None(as_arm_bringup.launch) HOT 4
- If I have the URDF of another manipulator, how do I need to modify the code to run?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from as_6dof_arm.