Gazebo | Ignition | Community
Ask Your Question
0

IMU sensor plugin in drcsim

asked 2013-06-04 08:50:41 -0600

peshala gravatar image

updated 2013-06-04 08:55:17 -0600

hi all,

where does the .cpp code exist for this imu plugin. This is from

drcsim / ros / atlas_description / urdf / atlas.gazebo 

  <gazebo reference="imu_link">
    
    
    <sensor name="imu_sensor" type="imu">
      <always_on>1</always_on>
      <update_rate>1000.0</update_rate>
      <imu>
        <noise>
          <type>gaussian</type>
          
          <rate>
            <mean>0.0</mean>
            <stddev>2e-4</stddev>
            <bias_mean>0.0000075</bias_mean>
            <bias_stddev>0.0000008</bias_stddev>
          </rate>
          <accel>
            <mean>0.0</mean>
            <stddev>1.7e-2</stddev>
            <bias_mean>0.1</bias_mean>
            <bias_stddev>0.001</bias_stddev>
          </accel>
        </noise>
      </imu>
    </sensor>
  </gazebo>

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-06-04 09:22:06 -0600

ThomasK gravatar image
edit flag offensive delete link more

Comments

@ThomasK Thanks. In my standalone installation (1.7.1) I could find ImuSensor.hh at /usr/include/gazebo-1.7/gazebo/sensors/ImuSensor.hh but ImuSensor.cc or a .so file is nowhere to be found. I am wondering why?

peshala gravatar imagepeshala ( 2013-06-05 00:37:01 -0600 )edit
1

Lack of .cc file is expected, debian packages are not including source files. Headers files are needed for developing against gazebo and binary code for Imu Sensor is part libgazebosensors.so. (try to run nm -D libgazebosensors.so | grep Imu). I would recommended download source code from bitbucket if you plan on looking at code.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2013-06-05 06:44:53 -0600 )edit
peshala gravatar imagepeshala ( 2013-06-05 23:02:53 -0600 )edit

Question Tools

Stats

Asked: 2013-06-04 08:50:41 -0600

Seen: 850 times

Last updated: Jun 04 '13