— distributions: ardent:
distribution: [ardent/distribution.yaml]
distribution_cache: http://repo.ros2.org/rosdistro_cache/ardent-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros2
python_version: 3 bouncy:
distribution: [bouncy/distribution.yaml]
distribution_cache: http://repo.ros2.org/rosdistro_cache/bouncy-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros2
python_version: 3 crystal:
distribution: [crystal/distribution.yaml]
distribution_cache: http://repo.ros2.org/rosdistro_cache/crystal-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros2
python_version: 3 dashing:
distribution: [dashing/distribution.yaml]
distribution_cache: http://repo.ros2.org/rosdistro_cache/dashing-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros2
python_version: 3 eloquent:
distribution: [eloquent/distribution.yaml]
distribution_cache: http://repo.ros2.org/rosdistro_cache/eloquent-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros2
python_version: 3 foxy:
distribution: [foxy/distribution.yaml]
distribution_cache: http://repo.ros2.org/rosdistro_cache/foxy-cache.yaml.gz
distribution_status: active
distribution_type: ros2
python_version: 3 galactic:
distribution: [galactic/distribution.yaml]
distribution_cache: http://repo.ros2.org/rosdistro_cache/galactic-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros2
python_version: 3 groovy:
distribution: [groovy/distribution.yaml]
distribution_cache: http://repositories.ros.org/rosdistro_cache/groovy-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros1
python_version: 2 humble:
distribution: [humble/distribution.yaml]
distribution_cache: http://repo.ros2.org/rosdistro_cache/humble-cache.yaml.gz
distribution_status: active
distribution_type: ros2
python_version: 3 hydro:
distribution: [hydro/distribution.yaml]
distribution_cache: http://repositories.ros.org/rosdistro_cache/hydro-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros1
python_version: 2 indigo:
distribution: [indigo/distribution.yaml]
distribution_cache: http://repositories.ros.org/rosdistro_cache/indigo-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros1
python_version: 2 jade:
distribution: [jade/distribution.yaml]
distribution_cache: http://repositories.ros.org/rosdistro_cache/jade-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros1
python_version: 2 kinetic:
distribution: [kinetic/distribution.yaml]
distribution_cache: http://repositories.ros.org/rosdistro_cache/kinetic-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros1
python_version: 2 lunar:
distribution: [lunar/distribution.yaml]
distribution_cache: http://repositories.ros.org/rosdistro_cache/lunar-cache.yaml.gz
distribution_status: end-of-life
distribution_type: ros1
python_version: 2 melodic:
distribution: [melodic/distribution.yaml]
distribution_cache: http://repositories.ros.org/rosdistro_cache/melodic-cache.yaml.gz
distribution_status: active
distribution_type: ros1
python_version: 2 noetic:
distribution: [noetic/distribution.yaml]
distribution_cache: http://repositories.ros.org/rosdistro_cache/noetic-cache.yaml.gz
distribution_status: active
distribution_type: ros1
python_version: 3 rolling:
distribution: [rolling/distribution.yaml]
distribution_cache: http://repo.ros2.org/rosdistro_cache/rolling-cache.yaml.gz
distribution_status: rolling
distribution_type: ros2
python_version: 3 type: index version: 4
Debian打包参考手册。
Welcome to the Ubuntu Packaging Guide! This guide is primarily addressed to those who would like to make and
maintain Ubuntu packages.
1)使用QT编译完之后在debug/release文件夹下得到可执行文件如demo
2)新建一个文件夹如demoPack,把demo拷贝这个地方
3)新建一个脚本文件pack.sh,作用是提取lib文件,内容如下:
#!/bin/sh ...
ROS运行中的一些常见报错及解法
现行的机器人应用研究,多是基于Ubuntu系统的ROS(Robot Operating System)进行搭建及仿真测试,这里简略记录一些经典报错及相应解法。这些仅是笔者在使用过程中遇到的小坑,水平有限,仅作学习记录之用途。
终端启动项
对于package中的功能包,使用中需要source相应的setup.bash文件,利用以下命令
gedit ~/.bashrc
可以直接编辑终端启动项(即你每次打开新的终端,这里面的命令行就自动运行了,可以直接把source语句放进其中)
ubuntu上安装ROS,不管是在ubuntu16.04上装kinetic,还是在18.04上装melodic,安装完毕后,进行初始化时,反复失败,试遍了网上公开的方法,都没能解决。最后,通过本地创建配置文件的方法,终于搞定。
1.执行 sudo rosdep init 失败
首先反复尝试一下,一般情况下反复个几次,init这步就可以成功。
如果反复不成功,根据提示错误,可以先参考...
记录一次Deb打包过程即踩雷警示
最近写了一个python的小程序,希望能打包成deb文件,把这个程序弄得有头有脸,安装deb后可以在应用列表和桌面看到。参考了许多资料(文后附),它们给了我很多指导,对此表示感谢。
需要准备的
1、源代码(前提要可执行)或者编译好的程序,这里只介绍python
2、能用的ubuntu系统
3、用户的密码
4、图标(一定要有!)
这里给大家介绍一个案例,包名叫做debpacktest,整个过程中所有用到名字的地方,统统都是这个名字。xxx也指代这个名字。
一、建立目录架构
在开始学习ROS2之前,笔者先带大家了解一下Ubuntu。想必读者都知道Linux是一套免费并且开放源代码的操作系统。严格来讲,Linux这个词本身只表示Linux内核,而Ubuntu操作系统则是使用Linux内核的操作系统之一。与很多计算机技术相同,ROS2的更新换代是非常迅速的,目前对ROS2兼容最好的系统就是Ubuntu操作系统,所以本教程所有内容是基于目前较新版的Ubuntu22.04 LTS操作系统,对应的ROS2版本是ROS2:Humble。
一、MySQL数据库模块的安装和连接1、 PyMySQL模块的安装pip install pymysql2 、python连接数据库importpymysqldb= pymysql.connect("127.0.0.1", "root", "123456", "mysql") #("数据库ip","用户","密码","数据库" ) 打开数据库连接cursor =db.cursor()cursor...