-
Notifications
You must be signed in to change notification settings - Fork 16
Description
I have installed the RPG DVS ROS (it works), and follow your instruction to install and get the "libgazebo_dvs_plugin.so"
Then I change the urdf file as following:
<gazebo reference="camera_rgb_frame"> <sensor type="camera" name="camera1"> <update_rate>30.0</update_rate> <camera name="head"> <horizontal_fov>1.3962634</horizontal_fov> <image> <width>800</width> <height>800</height> <format>R8G8B8</format> </image> <clip> <near>0.02</near> <far>300</far> </clip> <!-- <noise> <type>gaussian</type> <mean>0.0</mean> <stddev>0.007</stddev> </noise> --> </camera> <plugin name="camera_controller" filename="libgazebo_dvs_plugin.so"> <alwaysOn>true</alwaysOn> <update_rate>60</update_rate> <visualize>0</visualize> <updateRate>0.0</updateRate> <eventThreshold>0</eventThreshold> <cameraName>rrbot/camera1</cameraName> <imageTopicName>image_raw</imageTopicName> <eventsTopicName>events</eventsTopicName> <cameraInfoTopicName>camera_info</cameraInfoTopicName> <frameName>camera_rgb_optical_frame</frameName> <hackBaseline>0.07</hackBaseline> <distortionK1>0.0</distortionK1> <distortionK2>0.0</distortionK2> <distortionK3>0.0</distortionK3> <distortionT1>0.0</distortionT1> <distortionT2>0.0</distortionT2> </plugin> </sensor> </gazebo>
After that, I run the launch file, and I can only get the topics as following:
/clock /cmd_vel /gazebo/link_states /gazebo/model_states /gazebo/parameter_descriptions /gazebo/parameter_updates /gazebo/set_link_state /gazebo/set_model_state /imu /joint_states /odom /rosout /rosout_agg /scan /tf /tf_static
However, if I use the file "libgazebo_ros_camera.so", I can got the topic as following:
/clock /cmd_vel /gazebo/link_states /gazebo/model_states /gazebo/parameter_descriptions /gazebo/parameter_updates /gazebo/set_link_state /gazebo/set_model_state /imu /joint_states /odom /rosout /rosout_agg /rrbot/camera1/camera_info /rrbot/camera1/image_raw /rrbot/camera1/image_raw/compressed /rrbot/camera1/image_raw/compressed/parameter_descriptions /rrbot/camera1/image_raw/compressed/parameter_updates /rrbot/camera1/image_raw/compressedDepth /rrbot/camera1/image_raw/compressedDepth/parameter_descriptions /rrbot/camera1/image_raw/compressedDepth/parameter_updates /rrbot/camera1/image_raw/theora /rrbot/camera1/image_raw/theora/parameter_descriptions /rrbot/camera1/image_raw/theora/parameter_updates /rrbot/camera1/parameter_descriptions /rrbot/camera1/parameter_updates /scan /tf /tf_static
it seems that the "libgazebo_dvs_plugin.so" cannot work.
could you please help me about this? thank you very much