ros
橘长_
攻城狮
展开
-
解决ros-melodic-desktop-full安装过程中未满足的依赖关系问题
sudo apt install ros-melodic-desktop-full 正在读取软件包列表… 完成正在分析软件包的依赖关系树 正在读取状态信息… 完成 有一些软件包无法被安装。如果您用的是 unstable发行版,这也许是 因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件包尚未被创建或是它们已被从新到(Incoming)目录移出。 下列信息可能会对解决问题有所帮助:下列软件包有未满足的依赖关系: ros-melodic-desktop-.原创 2022-04-15 22:13:21 · 5145 阅读 · 2 评论 -
ubuntu14安装svn图形化软件
sudo add-apt-repository ppa:rabbitvcs/ppasudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 34EF4A35sudo apt-get updatesudo apt-get install python-nautilus python-configobj python-gtk2 python-glade2 python-svn python-dbus python-dulwich subve原创 2020-09-18 11:26:18 · 168 阅读 · 0 评论 -
cartographer源码安装
环境:ubuntu161把github源码导入到gitee搜索三个仓库:cartographercartographer_rosceres-solver之后下载需要。2https://google-cartographer-ros.readthedocs.io/en/latest/compilation.html#building-installationsudo apt-get updatesudo apt-get install -y \ clang \ cmake原创 2020-09-01 18:10:54 · 1189 阅读 · 0 评论 -
urdf模型与gazebo仿真
创建gazebo仿真的功能包。catkin_create_pkg mybot_gazebo gazebo_plugins gazebo_ros gazebo_ros_control roscpp rospy1 为link添加惯性参数和碰撞属性inertial:惯性参数collision:碰撞属性visual:可视化属性碰撞属性一般和可视化属性一样的。除非模型很复杂,碰撞属性会简化成规则形状。2 为link添加gazebo标签这些标签主要与颜色有关3 为joint添加传动装置4 添加gaz原创 2020-08-31 23:22:50 · 1373 阅读 · 0 评论 -
VMware: vmw_ioctl_command error 无效的参数
虚拟机打开rviz或这gazebo报错:VMware: vmw_ioctl_command error 无效的参数解决办法:export SVGA_VGPU10=0或者echo "export SVGA_VGPU10=0" >> ~/.bashrc原创 2020-08-30 17:10:54 · 2192 阅读 · 1 评论 -
ArbotiX+RVIZ环境搭建和仿真
环境:ubuntu18安装ArbotiX控制器sudo apt-get install ros-indigo-arbotixsudo apt-get install ros-indigo-arbotix-*编辑launch文件新增加2个文件:arbotix_mybot_with_laser.launchfake_mybot_arbotix.yamlmybot_description/├── CMakeLists.txt├── config│ ├── fake_mybot_arbo原创 2020-08-27 19:54:40 · 863 阅读 · 4 评论 -
ros创建xacro模型
环境:ubuntu18xacro编辑源文件概览:ubuntu@ubuntu-vpv:~/mybot_ws$ tree src/ src/├── CMakeLists.txt -> /opt/ros/melodic/share/catkin/cmake/toplevel.cmake└── mybot_description ├── CMakeLists.txt ├── config │ └── mybot_urdf.rviz ├── launch原创 2020-08-27 17:50:09 · 1426 阅读 · 1 评论 -
ros_by_example的安装
环境:ubuntu14sudo apt-get install -y ros-indigo-turtlebot-bringup \ros-indigo-turtlebot-create-desktop ros-indigo-openni-* \ros-indigo-openni2-* ros-indigo-freenect-* ros-indigo-usb-cam \ros-indigo-laser-* ros-indigo-hokuyo-node \ros-indigo-audio-common原创 2020-08-25 09:31:34 · 350 阅读 · 0 评论 -
ros学习编写urdf和xacro
环境:ubuntu14创建URDF模型创建包:catkin_create_pkg mrobot_description urdf xacro编辑URDF文件::mrobot_ws/src/mrobot_description/urdf$ gedit mrobot_chassis.urdf<?xml version="1.0" ?><robot name="mrobot_chassis"> <!-- BASE --> <link nam原创 2020-08-24 17:22:51 · 2510 阅读 · 11 评论 -
ROS创建URDF
1 创建包catkin_create_pkg littleCar_description urdf xacro四个文件cd littleCar_descriptionmkdir urdf launch rviz config2 编辑URDF文件底盘描述cd urdfgedit littleCar_chassis.urdf<robot>:<link>:支杆<joint>:关节<?xml version="1.0" ?><ro原创 2020-08-21 11:22:29 · 564 阅读 · 1 评论 -
Could not find a package configuration file provided by “qt_build“ with any of the following nam...
问题描述CMake Warning at/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76(find_package): Could not find a package configuration file providedby “qt_build” with any of the following names:qt_buildConfig.cmakeqt_build-config.cmakeAdd the inst原创 2020-08-21 08:35:02 · 2970 阅读 · 1 评论 -
Clion编译ROS包的CMakeLists.txt错误catkin was neither found in the workspace nor in the CMAKE_PREFIX_PATH
问题描述message(FATAL_ERROR “execute_process(${_cmd}) returned error code ${_res}”)message(FATAL_ERROR “find_package(catkin) failed. catkin was neither found in the workspace nor in the CMAKE_PREFIX_PATH. One reason may be that no ROS setup.sh was sourced原创 2020-08-19 17:34:55 · 1666 阅读 · 0 评论 -
eclipse导入ros工作空间
先删除build,devel用这条命令代替原来的catkin_makecatkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_ECLIPSE_MAKE_ARGUMENTS=-j8 import projectFile -> Import -> General -> Existing Projects into Workspace,select a ro原创 2020-08-18 14:03:20 · 172 阅读 · 0 评论 -
[rospack] Warning: error while crawling /home/teabot: boost::filesystem::status: Permission denied:
问题描述:运行rosrun命令,用Tab自动补全出现这些警告rosrun [rospack] Warning: error while crawling /home/teabot: boost::filesystem::status: Permission denied: "/home/teabot/.gvfs"[rospack] Warning: error while crawling /home/teabot: boost::filesystem::status: Permission denie原创 2020-08-18 11:53:05 · 464 阅读 · 0 评论 -
roslaunch文件理解
1 node<node />pkg: 包名type: 可执行文件名name: 用于替换ros::init 的节点名,是的可以重复运行某个可执行文件output:“screen” 打印输出节点respawn:true 可以重启节点原创 2020-08-17 22:53:21 · 139 阅读 · 0 评论 -
ros教程TF
catkin_create_pkg learning_tf tf roscpp rospy turtlesim1 广播器This tutorial teaches you how to broadcast coordinate frames to tf. In this case, we want to broadcast the changing coordinate frames of the turtles, as they move around.turtle_tf_broadcaster.原创 2020-08-17 22:40:10 · 617 阅读 · 0 评论 -
sudo apt-get update出现W: 校验签名出错。此仓库未被更新,仍然使用以前的索引文件。GPG 错误:http://packages.ros.org trusty InRelease:
错误W: 校验签名出错。此仓库未被更新,仍然使用以前的索引文件。GPG 错误:http://packages.ros.org trusty InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY F42ED6FBAB17C654W: 下载 http://packages.ros.org/ros/ubuntu/dists/trusty/InRelease 失败W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。解决 sudo apt-key adv原创 2020-08-17 10:50:03 · 1479 阅读 · 0 评论 -
Clion导入ROS工作空间
1sudo gedit ~/.local/share/applications/jetbrains-clion.desktop[Desktop Entry]Version=1.0Type=ApplicationName=CLionIcon=/opt/clion-2020.2/bin/clion.svgExec=bash -i -c "/opt/clion-2020.2/bin/clion.sh" %fComment=A cross-platform IDE for C and C++Cat原创 2020-08-16 20:20:51 · 379 阅读 · 0 评论 -
ros创建话题和服务
1 创建包catkin_creat_pkg beginner_tutorials std_msgs rospy roscpp2 创建话题和服务# 消息roscd beginner_tutorialsmkdir msgecho "int64 num" > msg/Num.msgcat Num.msg int64 num# 服务roscd beginner_tutorialsmkdir srvroscp rospy_tutorials AddTwoInts.srv srv/Ad原创 2020-08-16 00:00:46 · 514 阅读 · 0 评论 -
ros导出bag包
如何导出.bag文件导出话题转.txt文件rostopic echo -b xxx.bag -p /topic>result.txt将.active文件恢复成.bag文件rosbag reindex xxx.bag.activerosbag fix xxx.bag.active result.bag原创 2020-08-14 17:24:07 · 506 阅读 · 0 评论 -
曼普拉斯MPMGS200-F01磁传感器快速配置RS485modbus协议
参数配置这里用485-MUDBUS协议通信如图:举例初始化指令:功能码10设备地址功能码起始地址(高位)起始地址(低位)寄存器个数(高位)寄存器个数(低位)字节数配置设备地址设备感应磁极RS485波特率RS232波特率CRC校验(低位)CRC校验(高位)04H10H00H00H00H02H04H04H01H04H04HB1H90H485mudbus 10功能码:设备地址(1Byte)+功能码(1Byte)+寄存器地址原创 2020-08-13 17:05:19 · 908 阅读 · 0 评论 -
rosdep init或rosdep update的解决办法
报错内容大概是这样:ERROR: cannot download default sources list from:https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.listWebsite may be down.解决办法也很简单,就是改一下hosts文件打开网站:https://www.ip138.com输入查询:https://raw.githubuserco原创 2020-08-13 14:35:54 · 902 阅读 · 0 评论 -
ROS机器人GUI程序开发(蒋程扬)
title: ROS机器人GUI程序开发(蒋程杨)-一date: 2020-07-12 08:35:59tags: 记录周末这两天完整的学了一下蒋程杨大佬做的ros的gui开发第二部分。简单做一下记录吧,以便以后能快速的复制粘贴????,里面包括一些信号和槽函数的链接,编辑回调函数和信号函数,订阅图像话题,实现快速指令。。。按键速度控制连接:connect(ui.horizontalSlider_linear,SIGNAL(valueChanged(int)),this,SLOT(原创 2020-08-04 18:02:02 · 1961 阅读 · 1 评论 -
title: 搭建qt+ros的开发环境(二)
title: 搭建qt+ros的开发环境(二)date: 2020-07-08 19:52:00tags: 记录通过上一篇博客创建的gui_pkg,这里要做的是在QT视图中显示ROS话题发布与接收的消息以及加上一个按键测试。系统:ubuntu14软件:Qt5.9.1Creator继续上一篇记录的内容,两条命令创建了两个package.catkin_create_pkg topic_pkg std_msgs roscppcatkin_create_qt_pkg gui_pkg.原创 2020-08-04 18:01:13 · 291 阅读 · 2 评论 -
搭建qt+ros的开发环境(序)
title: 搭建qt+ros的开发环境(序)date: 2020-07-06 23:55:25tags: 踩坑记录这周需要搞一个ros插件,所以需要搭建一下开发环境,很简单就是底下三条命令sudo add-apt-repository ppa:levi-armstrong/qt-libraries-trustysudo add-apt-repository ppa:levi-armstrong/ppa sudo apt-get update && sudo apt-get.原创 2020-08-04 18:00:37 · 1086 阅读 · 0 评论 -
搭建qt+ros的开发环境(一)
title: 搭建qt+ros的开发环境(一)date: 2020-07-07 21:51:03tags: 记录最近需要开发用于ROS人机交互界面的开发,一直在折腾Qt所以记录一下环境的搭建安装Qt for ros插件的可以看我上一篇blog: ubuntu14搭建QT+ros_qtc_plugin打开Qt 5.9.1Creator(这是我ubuntu14系统之前安装qt57creator-plugin-ros带上的)左上角 File --> New File or Proje.原创 2020-08-04 17:59:46 · 1229 阅读 · 0 评论 -
Hinson SE1035激光传感器快速配置
先看一下这个激光传感器的主要特性值得一提的是它的检测角度精度可以在0.1°拿过来我需要改一下模块的IP地址:连接电脑,检查以太网接口是否已启动改笔记本IP设置在同一网段,这款激光的网段是192.168.1.xxx。到这里,电脑和传感器就可以ping通了。接下来到兴颂官网下载配置软件,以上几步做好就可以连接配置软件配置了。...原创 2020-08-04 17:29:28 · 920 阅读 · 0 评论 -
Linux mint 19.3安装ros-melodic
先系统设置,修改软件源参考这篇博客Linux Mint 19.3安装ROS Melodic操作要注意的是这里我选择这个USTC:URL: http://mirrors.tuna.tsinghua.edu.cn/ros/sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.ed...原创 2020-04-04 10:37:06 · 663 阅读 · 0 评论 -
ubuntu18安装ros-melodic
记录Ubuntu18安装ros系统一、换阿里源换阿里源链接二、配置软件和更新设置为了能顺利更新这里我电脑连接手机开的网络热点三、开始安装参考wiki进行安装ros安装官网注意这里安装过程全程用手机热点Setup your sources.list sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_...原创 2020-02-24 17:44:29 · 558 阅读 · 0 评论