ros

ROS crashed after rebooting the computer

柔情痞子 提交于 2019-12-03 11:15:15
Platform: Ubuntu 16.04 and Windows 10 in my double system. After rebooting, every ROS command didn't work. Errors like as follows. They continuously happened. the program 'rospack' is currently not installed. you can install it by typing: sudo apt install the program 'rosrun' is currently not installed. you can install it by typing: sudo apt install the program 'roscore' is currently not installed. you can install it by typing: sudo apt install ...... So I rebooted my computer again. Same errors. Problem solved by shutdown it rather than reboot it. 来源: https://www.cnblogs.com/williamc17/p

t 'gazebo_ros_control' 'manipulation_msgs'.

耗尽温柔 提交于 2019-12-03 09:29:59
Could not find the required component 'gazebo_ros_control' sudo apt-get install ros-kinetic-ros-control ros-kinetic-ros-controllers sudo apt-get install ros-kinetic-gazebo-ros-pkgs ros-kinetic-gazebo-msgs ros-kinetic-gazebo-plugins ros-kinetic-gazebo-ros-control Could not find the required component 'manipulation_msgs'. sudo apt-get install ros-kinetic-manipulation-msgs py节点无法rosrun时,.py文件右击,添加可执行权限 来源: CSDN 作者: BetterEthan 链接: https://blog.csdn.net/BetterEthan/article/details/97294502

ROS: No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/shoulder_pitch_joint

南笙酒味 提交于 2019-12-03 09:29:46
运行 gazebo_ros_control.launch时, 错误如下: [ERROR] [1571212497.739111392, 0.166000000]: No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/shoulder_pitch_joint [ERROR] [1571212497.744784033, 0.166000000]: No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/elbow_roll_joint [ERROR] [1571212497.747626326, 0.166000000]: No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/elbow_pitch_joint [ERROR] [1571212497.749455772, 0.166000000]: No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/wrist_roll_joint [ERROR] [1571212497.751916855,

ros下安装gazebo提示错误

不羁的心 提交于 2019-12-03 09:29:25
安装gazebo时 sudo apt-get install ros-kinetic-gazebo-ros-pkgs ros-kinetic-gazebo-ros-control 提示如下: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ros-indigo-gazebo-ros-control : Depends: gazebo2 but it is not going to be installed Depends: libsdformat1 but it is not going to be installed Depends: ros-indigo

Learning ROS for Robotics Programming Second Edition学习笔记(九) indigo Gazebo rviz slam navigation

只谈情不闲聊 提交于 2019-12-03 09:29:02
中文译著已经出版,详情请参考:http://blog.csdn.net/ZhangRelay/article/category/6506865 书中三维环境gazebo,slam的仿真例子 --$ roslaunchchapter8_tutorials gazebo_mapping_robot.launch model:="`rospackfind robot1_description`/urdf/robot1_base_04.xacro" --$ rosrunteleop_twist_keyboard teleop_twist_keyboard.py --$ rosrunmap_server map_saver -f map --$ rosrunmap_server map_server map.yaml --$ roslaunchchapter8_tutorials gazebo_map_robot.launch model:="`rospack findchapter8_tutorials`/urdf/robot1_base_04.xacro" 视频录像 http://v.youku.com/v_show/id_XMTQxMzMzNzAzMg 来源: CSDN 作者: zhangrelay 链接: https://blog.csdn.net/ZhangRelay

gazebo官网例程

╄→尐↘猪︶ㄣ 提交于 2019-12-03 09:28:39
首先官网下载代码 https://github.com/ros-simulation/gazebo_ros_demos 1 创建编译工作空间 cd ~/catkin_ws/src/ git clone https://github.com/ros-simulation/gazebo_ros_demos.git cd .. catkin_make 2 在Rviz运行 cd ~/catkin_ws/src/gazebo_ros_demos/rrbot_description roslaunch rrbot_description rrbot_rviz.launch 3 在gazebo运行 cd ~/catkin_ws/src/gazebo_ros_demos/rrbot_gazebo roslaunch rrbot_gazebo rrbot_world.launch 4 客制化URDF文件 继续使用gazebo中RRBot的URDF,并在其基础上做客制化修改。 4.1 Add transmission elements to a URDF 为了在机器人RRBot中使用ros_control, 我们需要在URDF中增加一些相应的elements(如 element), 这种element被用来连接机器人的actuators和 joints, 详细定义请看 spec 。 对于gazebo

在虚拟机下运行gazebo,关于vmw_ioctl_command error Invalid argument错误

一曲冷凌霜 提交于 2019-12-03 09:28:23
问题 :运行: roscore & rosrun gazebo_ros gazebo “VMware: vmw_ioctl_command error Invalid argument. Aborted (core dumped) /opt/ros/indigo/lib/gazebo_ros/gazebo: 39: kill: invalid signal number or name: SIGINT” 在终端下设置环境变量为0 $ export SVGA_VGPU10=0 roscore & rosrun gazebo_ros gazebo OpenGL support can be disabled by setting the environment variable SVGA_VGPU10=0. Gazebo starts now and runs compared to the not 3D accelerated way pretty smooth on a T460p if the resolution of the VM guest system is not too high (<< 4K). To make the change permanent use: $ echo "export SVGA_VGPU10=0" >> ~/.bashrc 参考文献: 来源:

ROS学习过程中问题

五迷三道 提交于 2019-12-03 09:25:59
一、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 ros-kinetic-gazebo-ros-control (3) Could not find a package configuration file provided by "move_base_msgs" with any of the following names: move_base_msgsConfig.cmake move_base_msgs-config.cmake 提示缺少“gazebo_ros_control”功能包,sudo apt-get install ros-kinetic-move-base-msgs (2) alsa/asoundlib.h: No such file or directory 缺少一个库,sudo apt-get install

ROS_Gazebo仿真

醉酒当歌 提交于 2019-12-03 09:25:41
ROS indigo 默认安装了 Gazebo2 可以用 ( locate 文件 名 查看 ) /opt/ros/indigo/share/gazebo_ros/launch 1、在终端中启动Gazebo: gazebo 如图为启动后的窗口界面: 2、Gazebo简单认识 使用ros命令打开的一个empty world 的gazebo 和我直接用gazebo命令打开的软件是没有区别的,因为都是空的内容里面。 但是实际使用是有区别的,使用roslaunch命令 打开的gazebo实际上是包含了一个ros通讯节点,这样就可以使用其他的ros指令将gazebo和你自己编写的文件联系起来。 着急学习的朋友建议直接上官网,里面有详细教程。 a)界面认识 这个空的世界中,只有一个大地模型和光源效果。 b )添加一些东西上去 如图,添加了两个球体和一个圆柱以及一个正方体。 c)基本工具介绍 移动工具 旋转工具 缩放工具 或者使用ctrl+B来进行地图编辑 3、接下来按照ROS的教程走 a)写一个urdf的模型文件 使用终端,建立并编辑urdf文件,我推荐gedit方便 gedit object.urdf 写入代码: <robot name="simple_box"> <link name="my_box"> <inertial> <origin xyz="2 0 0" /> <mass

ROS Gazebo(二):概述

蹲街弑〆低调 提交于 2019-12-03 09:25:28
gazebo_ ros_pkgs 功能包实现了ROS和Gazebo集成。它提供了消息、服务、动态参数配置等功能接口,可以用来在Gazebo 中进行机器人的仿真。 支持独立的系统,本身并不是ROS系统组件 用catkin编译 识别URDF和SDF文件 减少代码的重复 用ros_control 提供对控制器的支持 有效地集成了实时控制器 概述 功能包的接口如下: Launch pkg=”gazebo_ros” CMakeLists.txt 配置CMake文件 cmake_minimum_required (VERSION 2.8 . 3 ) project (YOURROBOT_gazebo_plugins) find_package (catkin REQUIRED COMPONENTS gazebo_ros ) # Depend on system install of Gazebo find_package (gazebo REQUIRED) include_directories ( include ${catkin_INCLUDE_DIRS} ${GAZEBO_INCLUDE_DIRS} ${SDFormat_INCLUDE_DIRS} ) # Build whatever you need here add_library (...) # TODO catkin