Ranger model
[Model]

The ranger model simulates an array of sonar or infra-red (IR) range sensors.

API: Stg::StgModelRanger

Worldfile properties

Summary and default values
ranger
(
  # ranger properties
  scount 16
  spose[0] [? ? ?]
  spose[1] [? ? ?]
  spose[2] [? ? ?]
  spose[3] [? ? ?]
  spose[4] [? ? ?]
  spose[5] [? ? ?]
  spose[6] [? ? ?]
  spose[7] [? ? ?]
  spose[8] [? ? ?]
  spose[9] [? ? ?]
  spose[10] [? ? ?]
  spose[11] [? ? ?]
  spose[12] [? ? ?]
  spose[13] [? ? ?]
  spose[14] [? ? ?]
  spose[15] [? ? ?]
   
  ssize [0.01 0.03]
  sview [0.0 5.0 5.0]

  # model properties
  watts 2.0
)

Notes
The ranger model allows configuration of the pose, size and view parameters of each transducer seperately (using spose[index], ssize[index] and sview[index]). However, most users will set a common size and view (using ssize and sview), and just specify individual transducer poses.

Details
  • scount int
    • the number of range transducers
  • spose[<transducer index>] [float float float]
    • [x y theta]
    • pose of the transducer relative to its parent.
  • ssize [float float]
    • [x y]
    • size in meters. Has no effect on the data, but controls how the sensor looks in the Stage window.
  • ssize[<transducer index>] [float float]
    • per-transducer version of the ssize property. Overrides the common setting.
  • sview [float float float]
    • [range_min range_max fov]
    • minimum range and maximum range in meters, field of view angle in degrees. Currently fov has no effect on the sensor model, other than being shown in the confgiuration graphic for the ranger device.
  • sview[<transducer index>] [float float float]
    • per-transducer version of the sview property. Overrides the common setting.


Generated on Thu Jan 7 17:42:16 2010 for Stage by  doxygen 1.5.5