Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It seems that the package cannot work #5

Open
KwanWaiPang opened this issue Sep 17, 2021 · 2 comments
Open

It seems that the package cannot work #5

KwanWaiPang opened this issue Sep 17, 2021 · 2 comments

Comments

@KwanWaiPang
Copy link

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

@FloraHHF
Copy link

Hey, have you solved the problem? I think I have the same issue. I cannot see the topic been published

@AmsterdamKKK
Copy link

Hey, have you solved the problem? I think I have the same issue. I cannot see the topic been published

Have you solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants