[失败]uuv_simulator在台式机_虚拟环境下会崩溃的问题[失败]
台式机下的系统环境下可以跑uuv
笔记本下的虚拟环境下可以跑uuv
目前遇到的问题是,台式机下的虚拟环境跑不了uuv
接下来好好debug
终端1运行
source activate py27
cd ~/catkin_ws
source devel/setup.bash
roslaunch uuv_gazebo_worlds ocean_waves.launch
没有问题
终端2运行
source activate py27
cd ~/catkin_ws
source devel/setup.bash
roslaunch eca_a9_gazebo start_demo_teleop.launch joy_id:=0
直观来说就是eca的uuv程序,不能ros与gazebo互动,卡在空间中不能动弹
与此同时,测试lauv却蛮好,可以正常控制。
细看发现一个隐藏的白色报错:
Package pymap3d is not available, WGS84 coordinates cannot be used
Download pymap3d for Python 2.7 as
>> sudo pip install pymap3d==1.5.2
or for Python 3.x as
>> sudo pip install pymap3d
但是这个应该不重要,因为笔记本中也有,而且不影响程序、而且不易解决…
笔记本
(py27) fyo@fyo-Lenovo-XiaoXin-700-15ISK:~/auv_ws$ roslaunch eca_a9_gazebo start_demo_teleop.launch joy_id:=0
… logging to /home/fyo/.ros/log/156bef2e-11b9-11ea-afd9-98541be47cb2/roslaunch-fyo-Lenovo-XiaoXin-700-15ISK-15826.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
redefining global property: gamma
when processing file: /home/fyo/auv_ws/src/eca_a9/eca_a9_description/urdf/eca_a9_sensors.xacro
included from: /home/fyo/auv_ws/src/eca_a9/eca_a9_description/robots/eca_a9_default.urdf.xacro
started roslaunch server http://fyo-Lenovo-XiaoXin-700-15ISK:44354/
SUMMARY
PARAMETERS
- /eca_a9/finned_uuv_teleop/axis_pitch: 4
- /eca_a9/finned_uuv_teleop/axis_roll: 0
- /eca_a9/finned_uuv_teleop/axis_thruster: 1
- /eca_a9/finned_uuv_teleop/axis_yaw: 3
- /eca_a9/finned_uuv_teleop/fin_topic_prefix: fins/
- /eca_a9/finned_uuv_teleop/fin_topic_suffix: /input
- /eca_a9/finned_uuv_teleop/gain_pitch: [1, 1, -1, -1]
- /eca_a9/finned_uuv_teleop/gain_roll: [1, 1, 1, 1]
- /eca_a9/finned_uuv_teleop/gain_yaw: [-1, 1, 1, -1]
- /eca_a9/finned_uuv_teleop/n_fins: 4
- /eca_a9/finned_uuv_teleop/thruster_joy_gain: -1.0
- /eca_a9/finned_uuv_teleop/thruster_model/max_thrust: 100
- /eca_a9/finned_uuv_teleop/thruster_model/name: proportional
- /eca_a9/finned_uuv_teleop/thruster_model/params/gain: 4.9e-05
- /eca_a9/finned_uuv_teleop/thruster_topic: thrusters/0/input
- /eca_a9/ground_truth_to_tf_eca_a9/child_frame_id: /eca_a9/base_link
- /eca_a9/ground_truth_to_tf_eca_a9/footprint_frame_id: /eca_a9/base_foot…
- /eca_a9/ground_truth_to_tf_eca_a9/frame_id: world
- /eca_a9/ground_truth_to_tf_eca_a9/odometry_topic: /eca_a9/pose_gt
- /eca_a9/ground_truth_to_tf_eca_a9/stabilized_frame_id: /eca_a9/base_stab…
- /eca_a9/joystick/autorepeat_rate: 10
- /eca_a9/joystick/dev: /dev/input/js0
- /eca_a9/robot_description: <?xml version="1…
- /eca_a9/robot_state_publisher/robot_description: /eca_a9/robot_des…
- /rosdistro: kinetic
- /rosversion: 1.12.14
NODES
/eca_a9/
finned_uuv_teleop (uuv_teleop/finned_uuv_teleop.py)
ground_truth_to_tf_eca_a9 (uuv_assistants/uuv_message_to_tf)
joystick (joy/joy_node)
robot_state_publisher (robot_state_publisher/robot_state_publisher)
urdf_spawner (uuv_descriptions/spawn_model)
/
rviz (rviz/rviz)
ROS_MASTER_URI=http://localhost:11311
process[eca_a9/urdf_spawner-1]: started with pid [15848]
process[eca_a9/robot_state_publisher-2]: started with pid [15849]
process[eca_a9/ground_truth_to_tf_eca_a9-3]: started with pid [15850]
process[eca_a9/finned_uuv_teleop-4]: started with pid [15851]
process[eca_a9/joystick-5]: started with pid [15856]
process[rviz-6]: started with pid [15871]
[ WARN] [1574929730.847916596]: The root link eca_a9/base_link has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.
[ INFO] [1574929730.939473429]: rviz version 1.12.17
[ INFO] [1574929730.939551534]: compiled against Qt version 5.5.1
[ INFO] [1574929730.939574563]: compiled against OGRE version 1.9.0 (Ghadamon)
Package pymap3d is not available, WGS84 coordinates cannot be used
Download pymap3d for Python 2.7 as
sudo pip install pymap3d==1.5.2
or for Python 3.x assudo pip install pymap3d
spawn_model script started
[ERROR] [1574929731.106090200, 7.450000000]: Couldn’t open joystick force feedback!
starting FinnedUUVControllerNode.py
[ INFO] [1574929731.268966154, 7.610000000]: Stereo is NOT SUPPORTED
[ INFO] [1574929731.269117998, 7.610000000]: OpenGl version: 3 (GLSL 1.3).
0x18093f0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
0x1808ca0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
0x1814ab0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
0x1809e80 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
[INFO] [1574929731.332771, 0.000000]: Loading model xml from ros parameter
[INFO] [1574929731.344453, 0.000000]: Using the ENU coordinates to spawn the model
[INFO] [1574929731.344687, 0.000000]: Initial position wrt the world frame: (0.00, 0.00, -5.00)
[INFO] [1574929731.344861, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[INFO] [1574929731.353755, 0.000000]: Calling service /gazebo/spawn_urdf_model
FinnedUUVControllerNode: initializing node
Thruster #0 - proportional - thrusters/0/input
[INFO] [1574929731.532982, 7.880000]: Thruster model:
[INFO] [1574929731.533315, 7.880000]: Gain=4.9e-05
[INFO] [1574929732.075479, 7.900000]: Spawn status: SpawnModel: Successfully spawned entity
[eca_a9/urdf_spawner-1] process has finished cleanly
log file: /home/fyo/.ros/log/156bef2e-11b9-11ea-afd9-98541be47cb2/eca_a9-urdf_spawner-1*.log
0x1ac8a20 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
0x1cd3570 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
0x1a8bf10 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
0x1cd2fe0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
0x1cd3420 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
0x1ac8a20 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa61d10) ): Attempt to set a screen on a child window.
0x1808ca0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
0x1809e80 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
0x1814ab0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
0x19ecf70 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
0x1cd3420 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
0x1ac8a20 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
0x1cd3570 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
0x1b67340 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
0x1d35920 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
0x1dd2fc0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0xa5f740) ): Attempt to set a screen on a child window.
台式机
(py27) fyo@fyo:~/catkin_ws$ roslaunch eca_a9_gazebo start_demo_teleop.launch joy_id:=0
… logging to /home/fyo/.ros/log/0c72cf90-11ba-11ea-8d52-74da38f2b717/roslaunch-fyo-9269.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
redefining global property: gamma
when processing file: /home/fyo/catkin_ws/src/eca_a9/eca_a9_description/urdf/eca_a9_sensors.xacro
included from: /home/fyo/catkin_ws/src/eca_a9/eca_a9_description/robots/eca_a9_default.urdf.xacro
started roslaunch server http://fyo:39861/
SUMMARY
PARAMETERS
- /eca_a9/finned_uuv_teleop/axis_pitch: 4
- /eca_a9/finned_uuv_teleop/axis_roll: 0
- /eca_a9/finned_uuv_teleop/axis_thruster: 1
- /eca_a9/finned_uuv_teleop/axis_yaw: 3
- /eca_a9/finned_uuv_teleop/fin_topic_prefix: fins/
- /eca_a9/finned_uuv_teleop/fin_topic_suffix: /input
- /eca_a9/finned_uuv_teleop/gain_pitch: [1, 1, -1, -1]
- /eca_a9/finned_uuv_teleop/gain_roll: [1, 1, 1, 1]
- /eca_a9/finned_uuv_teleop/gain_yaw: [-1, 1, 1, -1]
- /eca_a9/finned_uuv_teleop/n_fins: 4
- /eca_a9/finned_uuv_teleop/thruster_joy_gain: -1.0
- /eca_a9/finned_uuv_teleop/thruster_model/max_thrust: 100
- /eca_a9/finned_uuv_teleop/thruster_model/name: proportional
- /eca_a9/finned_uuv_teleop/thruster_model/params/gain: 4.9e-05
- /eca_a9/finned_uuv_teleop/thruster_topic: thrusters/0/input
- /eca_a9/ground_truth_to_tf_eca_a9/child_frame_id: /eca_a9/base_link
- /eca_a9/ground_truth_to_tf_eca_a9/footprint_frame_id: /eca_a9/base_foot…
- /eca_a9/ground_truth_to_tf_eca_a9/frame_id: world
- /eca_a9/ground_truth_to_tf_eca_a9/odometry_topic: /eca_a9/pose_gt
- /eca_a9/ground_truth_to_tf_eca_a9/stabilized_frame_id: /eca_a9/base_stab…
- /eca_a9/joystick/autorepeat_rate: 10
- /eca_a9/joystick/dev: /dev/input/js0
- /eca_a9/robot_description: <?xml version="1…
- /eca_a9/robot_state_publisher/robot_description: /eca_a9/robot_des…
- /rosdistro: kinetic
- /rosversion: 1.12.14
NODES
/eca_a9/
finned_uuv_teleop (uuv_teleop/finned_uuv_teleop.py)
ground_truth_to_tf_eca_a9 (uuv_assistants/uuv_message_to_tf)
joystick (joy/joy_node)
robot_state_publisher (robot_state_publisher/robot_state_publisher)
urdf_spawner (uuv_descriptions/spawn_model)
/
rviz (rviz/rviz)
ROS_MASTER_URI=http://localhost:11311
process[eca_a9/urdf_spawner-1]: started with pid [9291]
process[eca_a9/robot_state_publisher-2]: started with pid [9292]
process[eca_a9/ground_truth_to_tf_eca_a9-3]: started with pid [9293]
process[eca_a9/finned_uuv_teleop-4]: started with pid [9295]
process[eca_a9/joystick-5]: started with pid [9305]
process[rviz-6]: started with pid [9310]
[ WARN] [1574930143.271217100]: The root link eca_a9/base_link has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.
[ERROR] [1574930143.347623694]: Couldn’t open joystick /dev/input/js0. Will retry every second.
[ INFO] [1574930143.414654190]: rviz version 1.12.17
[ INFO] [1574930143.414705459]: compiled against Qt version 5.5.1
[ INFO] [1574930143.414717252]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1574930143.625787990]: Stereo is NOT SUPPORTED
[ INFO] [1574930143.625888538]: OpenGl version: 3 (GLSL 1.3).
Package pymap3d is not available, WGS84 coordinates cannot be used
Download pymap3d for Python 2.7 as
sudo pip install pymap3d==1.5.2
or for Python 3.x assudo pip install pymap3d
spawn_model script started
starting FinnedUUVControllerNode.py
[INFO] [1574930143.976418, 0.000000]: Loading model xml from ros parameter
[INFO] [1574930143.981607, 0.000000]: Using the ENU coordinates to spawn the model
FinnedUUVControllerNode: initializing node
[INFO] [1574930143.981807, 0.000000]: Initial position wrt the world frame: (0.00, 0.00, -5.00)
[INFO] [1574930143.981941, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[INFO] [1574930143.983095, 0.000000]: Calling service /gazebo/spawn_urdf_model
Thruster #0 - proportional - thrusters/0/input
[INFO] [1574930144.033996, 6.500000]: Thruster model:
[INFO] [1574930144.034205, 6.500000]: Gain=4.9e-05
[INFO] [1574930144.790552, 6.620000]: Spawn status: SpawnModel: Successfully spawned entity
[eca_a9/urdf_spawner-1] process has finished cleanly
log file: /home/fyo/.ros/log/0c72cf90-11ba-11ea-8d52-74da38f2b717/eca_a9-urdf_spawner-1*.log
[失败]uuv_simulator在台式机_虚拟环境下会崩溃的问题[失败]相关推荐
- python open找不到文件的原因_浅谈python在提示符下使用open打开文件失败的原因及解决方法...
题目:在提示符下使用open打开一个文件 刚开始网上看了下打开的方式,结果一直实现不了,报错是没找到这个文件,而且和我输入的文件名不一样. 错误如下: >>>open('d:\456 ...
- python创建虚拟环境报错typeerror_python 创建虚拟环境时报错OSError, setuptools下载失败...
错误信息如下: Using base prefix 'c:\\users\\huful\\appdata\\local\\programs\\python\\python36-32' New pyth ...
- python虚拟环境创建失败_python 创建虚拟环境时报错OSError, setuptools下载失败
错误信息如下: Using base prefix 'c:\\users\\huful\\appdata\\local\\programs\\python\\python36-32' New pyth ...
- 虚拟环境下安装pytorch成功但import不成功
今天安装了anaconda,建立了名为pytorch.python3.7的虚拟环境.切换到该虚拟环境下根据 pip install torch==1.7.0 torchaudio=0.7.0 torc ...
- python 创建虚拟环境时报错OSError, setuptools下载失败
以前虚拟环境一下子就装好了, 今天多次尝试,发现错误信息总是如下 D:\vir_env\supetset>virtualenv env Using base prefix 'c:\\python ...
- python创建虚拟环境报错_python 创建虚拟环境时报错OSError, setuptools下载失败
错误信息如下: Using base prefix 'c:\\users\\huful\\appdata\\local\\programs\\python\\python36-32' New pyth ...
- 如何解决CentOS下使用yum安装python-pip失败
用Ubuntu的时候感觉很简单的事到ContOS上却变得很头痛,CentOS下使用yum安装python-pip失败的完美解决方法. 在执行以下命令安装Python-pip居然什么也没执行 yum i ...
- Mac-OSX的Python3.5虚拟环境下安装Opencv
Mac-OSX的Python3.5虚拟环境下安装Opencv 1 关键词 关键词:Mac,OSX,Python3.5,Virtualenv,Opencv 2 概述 本文是一篇 环境搭建 的基础 ...
- caffe---ubuntu1604下anaconda2.5的尝试----失败,建议使用系统的python系统,避免各种各样的陷阱...
caffe---ubuntu1604下anaconda2.5的尝试----失败,建议使用系统的python系统,避免各种各样的陷阱. 如果使用caffe+ anacoanda 已经遇到的陷阱有 1. ...
最新文章
- python怎么做彩票概率_用Python一次性把论文作图与数据处理全部搞定!
- php如何读写excel
- aes加密内容不定长_浅谈加密技术
- 商业领袖摘下帽子才能炼成极致
- 单文件组件的组件传值_移动端组件化架构(下)
- 交换最小值和最大值 (15 分)
- font-weight属性
- 网络机房利用()将多台计算机,2020现代教育技术章测试答案.doc
- ajax鼠标滚动请求 或 手机往下拉请求
- 梅西精彩过人绝技,太帅了!
- 台哥算法练习 - 自己写的一个LinkedList
- 兼容所有浏览器的js判断横竖屏以及监听事件
- uploadify php demo,uploadify HTML5 版本,多图上传
- java 电梯调度_OO_JAVA_多线程电梯调度_单元总结
- 华为服务器开机启动项怎么设置_华为电脑开机启动项设置方法
- exchange网易企业邮箱服务器设置,网易企业邮箱Exchange协议邮件客户端配置指南...
- “三门问题”的理解和Python验证
- Solr的facet
- 可怕!Facebook 竟能识别出性工作者!你怎么看?
- 融云钜惠来袭,新客尝鲜首月 2.7 折起,超值套餐 6 折起