栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

【Windows配置三】Python3.6安装rosbag

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

【Windows配置三】Python3.6安装rosbag

以下所以命令,均需在激活 anaconda 环境下进行安装

conda activate [your anaconda]
//例
conda activate pytorch
1、安装rospy
pip install -i https://pypi.douban.com/simple rospy

rospy地址:https://rospypi.github.io/simple

2、安装rogbag
pip install --extra-index-url https://rospypi.github.io/simple/ rosbag

如果超时,可以下载.whl,本地安装

pip install rosbag-1.15.11-py2.py3-none-any.whl

whl下载地址:https://rospypi.github.io/simple/

3、安装roslz4
pip install roslz4 --extra-index-url https://rospypi.github.io/simple/
4、安装sensor_msgs和geometry_msgs
pip install sensor_msgs --extra-index-url https://rospypi.github.io/simple/
pip install geometry_msgs --extra-index-url https://rospypi.github.io/simple/
5、安装cv_bridge

cv_bridge下载(源代码https://github.com/ros-perception/vision_opencv):https://codeload.github.com/ros-perception/vision_opencv/zip/refs/heads/noetic
cmd打开命令行窗口,在命令窗口里cd至cv_bridge文件夹,安装前必须激活anaconda

conda activate pytorch //必须激活anaconda 
python setup.py install

重要:如报错No module named ‘cv_bridge.boost’

pip install cv_bridge-1.13.0.post0-py2.py3-none-any.whl

whl 下载地址:https://files.cnblogs.com/files/yunhgu/rosbag_cv_bridge.zip

所需文件已上传
https://download.csdn.net/download/a_happy_bird/85721502

参考

http://t.csdn.cn/6TqYa //windows 10 python 3.7.9 install rosbag
https://www.xin3721.com/pythonTech/python37323.html //win10 + python3 + 安装rosbag & cv_bridge & sensor_msgs+解析bag文件生成pcd和图片
http://t.csdn.cn/1gZwk //python pip 安装第三方来源

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/982205.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号