Hello there,
I am trying to start Sphinx with a virtual camera placed in the world to see the drone from the side. Here is part of my .world file
<model name="camera"> <pose>-0.5 0 0.3 0 0 0</pose> <link name="camera_link"> <inertial> <mass>0.1</mass> </inertial> <collision name="collision"> <geometry> <box> <size>0.1 0.1 0.1</size> </box> </geometry> </collision> <visual name="visual"> <geometry> <box> <size>0.1 0.1 0.1</size> </box> </geometry> </visual> <sensor name="camera1" type="camera"> <camera> <horizontal_fov>1.047</horizontal_fov> <image> <width>800</width> <height>600</height> </image> <clip> <near>0.1</near> <far>100</far> </clip> </camera> <always_on>1</always_on> <update_rate>30</update_rate> <visualize>true</visualize> <plugin name="camera_controller" filename="libCameraPlugin.so"> <alwaysOn>true</alwaysOn> <updateRate>15.0</updateRate> <cameraName>camera1</cameraName> <imageTopicName>camera/image_raw</imageTopicName> <cameraInfoTopicName>camera/camera_info</cameraInfoTopicName> <frameName>camera_link</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> </link> </model>
However, when I try to start Sphinx with this world and Bebop2.drone it says me the following:
[Err] [CameraPlugin.cc:53] CameraPlugin requires a CameraSensor
and then exits with a segmentation fault.
Would be nice if anyone new what to do.
Thanks.