1、首先需要配合网络环境,之前写了一篇配置网络环境,但是发不出来,原因你们懂的,可以去github摸索一下。
2、rosbag的安装源
https://rospypi.github.io/simple/https://rospypi.github.io/simple/使用命令:
pip install rosbag -i https://rospypi.github.io/simple/
在使用这条命令前,先需要安装的依赖包如下
- gnupg
- pycryptodome
- pycryptodomex
- pyyaml
- docutils
- python-dateutil
- pyparsing

读取包时发现,rospy没有装,命令还是一样
pip install rospy -i https://rospypi.github.io/simple/
前提的依赖包:
- numpy

安装完成可以读取数据了。