Closed meera-m-t closed 4 years ago
Hi Sameerah,
Your issue is in your ROS setup and not specific to this plugin. Here some clarification on what's happening:
<imageTopicName>
tag, but no <eventsTopicName>
, so the events are published to the default topic (this is fine). We can see the events topic in the output of your rostopic list:
* /mybot/camera1/events [dvs_msgs/EventArray] 1 publisher
rostopic echo /mybot/camera1/events
. If no events are published, make sure the robot or the environment is in motion.rqt_image_view
- which can only visualize sensor_msgs/Image
message. Instead, events are published as dvs_msgs/EventArray
messages. You can get more information about this type with:
rosmsg show dvs_msgs/EventArray
dvs_renderer
as you mentioned, but you need to make sure that the ROS topics are connected correctly. The dvs_renderer
is a node, which needs to listen to the events (topic /mybot/camera1/events
) and will publish a sensor_msgs/Image
on a different topic. To connect the ros topics corretly use topic remapping:
rosrun dvs_renderer dvs_renderer /events:=//mybot/camera1/events
You can also use the <remap>
tag in a launch file. By default, images will be published on the topic /dvs_rendering
, which you can also remap the same way.
Thank you. I followed your instructions , and I had small mistakes I fixed it now it is working correctly.
Hey, Thank you for open sourcing your dvs plugin for gazebo simulations.
I tried to configure your plugin by installing all dvs ros drivers as well as your repository and changed the camera sensor to use this plugin. However, when I use the camera with your plugin
gazebo_dvs_plugin.so
there simply are no events to subscribe to and I cannot see any images. To be specific I have used the following configuration in my URDF file. I cannot see any Images in rqt or any other places. Replacing this with normal cotroller works. my environment (Gazebo9+ros-melodic+Ubuntu18.04).The output of rostopic-list is:
It looks like the events are being published but the recording a rosbag and playing it with
dvs_renderer
doesn't show any images