tracker.cpp:422] Events dropped since no image present.
Closed this issue · 1 comments
SharineLee commented
is there anything wrong with my launch file?
<launch>
<arg name="bag" default="/home/xxx/dataset/eklt_example/boxes_6dof.bag"/>
<arg name="v" default="1"/>
<arg name="tracks_file_txt" default="/home/xxx/dataset/eklt_example/tracks.txt"/>
<!-- tracker -->
<node name="tracker" pkg="eklt" type="eklt_node" output="screen" args="
--flagfile=$(find eklt)/config/eklt.conf
--v=$(arg v)
--tracks_file_txt=$(arg tracks_file_txt)">
<remap from="events" to="/dvs/events"/>
<remap from="images" to="/dvs/image_raw"/>
</node>
<!-- bag -->
<group if="$(eval arg('bag') != '' )">
<node pkg="rosbag" type="play" name="player" args="$(arg bag)"/>
</group>
<!-- image view-->
<node name="rqt_image_view" pkg="rqt_image_view" type="rqt_image_view">
<remap from="image" to="feature_tracks"/>
</node>
</launch>
SharineLee commented
i add <param name="/use_sim_time" value="true" />
, now it works.