Camera in air keeps drifting

asked 2022-03-02 10:32:20 -0500

user1928 gravatar image

updated 2022-03-02 10:34:13 -0500

I've added a camera to the simulation. Its gravity is disabled & it also doesn't touch the ground. But it keeps drifting right after inserting. Video of the problem is uploaded here.

I tried 1, 10, 100 for the mass & 1, 10, 100 for the inertias. But they don't seem to affect the drifting. Any help is greatly appreciated.

This is the sdf file of the camera:

<?xml version="1.0" ?>
<sdf version="1.5">
  <model name="camera">
  <pose>0 0 0.5 0 0 0 </pose> <!--1.5707963267948966 1.5707963267948966</pose-->
    <link name="link">
      <collision name="collision">
            <size>0.1 0.1 0.1</size>
      <visual name="visual">
            <size>0.1 0.1 0.1</size>
      <sensor name="camera" type="camera">
        <plugin name="camera_controller" filename="">
edit retag flag offensive close merge delete