小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
想问一下,我在跑双目事件相机的数据集时,rqt_gui不会出现画面是怎么回事呢?
-
ROS节点都是能够打开的,也能够启动rqt_gui,但是确实对rqt_gui不太了解,包也能正常播放,但好像两者之间没有联系起来一样,我也没有更改原作者的代码,按照他的readme操作应该是能够正常运行的,有没有大佬可以给我指点方向一下,我有点没有头绪(不知道怎么上传图片)
-
@小卢 使用rostopic echo 话题
看看有没有数据,多半是驱动问题没从相机读取到数据 -
@小鱼 好的,感谢提醒,我去试一下
-
@小卢 话题上确实没有数据,请问是要重新安装驱动吗,跑的是港科大的双目立体事件相机(Event Stereo Visual Odometry),之前安装了rpg_dvs_ros,也能够正常播放数据集
-
@小卢 你用的是play的数据集吗,话题没数据,数据集可能也没数据。
-
@小鱼 play的数据集,您是指什么,launch文件里节点的类型是play,这是我输完命令终端的结果(抱歉,我不太会上传图片),数据集就是事件相机通用数据集吧
终端1:
xiaoheya@xiaoheya-virtual-machine:~/catkin_dvs_ws/src$ roslaunch esvo_time_surface stereo_time_surface.launch
... logging to /home/xiaoheya/.ros/log/e1759816-fb38-11ec-bfb3-000c29d82efc/roslaunch-xiaoheya-virtual-machine-39664.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.started roslaunch server http://xiaoheya-virtual-machine:38421/
SUMMARY
PARAMETERS
- /TimeSurface_left/decay_ms: 30
- /TimeSurface_left/ignore_polarity: True
- /TimeSurface_left/max_event_queue_len: 20
- /TimeSurface_left/median_blur_kernel_size: 1
- /TimeSurface_left/time_surface_mode: 0
- /TimeSurface_left/use_sim_time: True
- /TimeSurface_right/decay_ms: 30
- /TimeSurface_right/ignore_polarity: True
- /TimeSurface_right/max_event_queue_len: 20
- /TimeSurface_right/median_blur_kernel_size: 1
- /TimeSurface_right/time_surface_mode: 0
- /TimeSurface_right/use_sim_time: True
- /rosdistro: melodic
- /rosversion: 1.14.13
- /use_sim_time: True
NODES
/
TimeSurface_left (esvo_time_surface/esvo_time_surface)
TimeSurface_right (esvo_time_surface/esvo_time_surface)
global_timer (rostopic/rostopic)
rqt_gui (rqt_gui/rqt_gui)auto-starting new master
process[master]: started with pid [39681]
ROS_MASTER_URI=http://localhost:11311setting /run_id to e1759816-fb38-11ec-bfb3-000c29d82efc
process[rosout-1]: started with pid [39701]
started core service [/rosout]
process[TimeSurface_left-2]: started with pid [39705]
process[TimeSurface_right-3]: started with pid [39716]
process[global_timer-4]: started with pid [39727]
process[rqt_gui-5]: started with pid [39728]终端2:
xiaoheya@xiaoheya-virtual-machine:~/catkin_dvs_ws/src$ roslaunch esvo_time_surface upenn_indoor_flying1.launch
... logging to /home/xiaoheya/.ros/log/e1759816-fb38-11ec-bfb3-000c29d82efc/roslaunch-xiaoheya-virtual-machine-45464.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.started roslaunch server http://xiaoheya-virtual-machine:40481/
SUMMARY
PARAMETERS
- /rosdistro: melodic
- /rosversion: 1.14.13
- /use_sim_time: True
NODES
/
play (rosbag/play)ROS_MASTER_URI=http://localhost:11311
process[play-1]: started with pid [45488]
[ INFO] [1656899047.246765188]: Opening /home/xiaoheya/dataset/ESVO/indoor_flying1_edited.bagWaiting 0.2 seconds after advertising topics... done.
Hit space to toggle paused, or 's' to step.
[RUNNING] Bag Time: 1608224755.504007 Duration: 81.699363 / 81.703556
Done.
REQUIRED process [play-1] has died!
process has finished cleanly
log file: /home/xiaoheya/.ros/log/e1759816-fb38-11ec-bfb3-000c29d82efc/play-1*.log
Initiating shutdown![play-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done终端3:
xiaoheya@xiaoheya-virtual-machine:~/catkin_dvs_ws/src$ $ rostopic echo /davis/left/image_raw
WARNING: topic [/T/davis/left/image_raw] does not appear to be published yet -
@小卢 你有真的相机吗
-
@小鱼 没有,我是用数据集跑的
-
@小卢 那就不存在驱动问题,就是数据集问题了
-
@小鱼 哦哦,好,我去看看数据集,谢谢您
-