Menu

How to change the scanning angle in hokuyo_node?

Anonymous
2019-01-23
2019-01-24
  • Anonymous

    Anonymous - 2019-01-23

    I'm running UTM-30LX with hokuyo_node. By default, its scanning angle is 180 degrees. How to change the scanning angle to 270 degrees?

     
  • wada-f

    wada-f - 2019-01-24

    Hi.

    The scan angle of hokuyo_node can be set with the following parameters.
    ~ min_ang (double, default: - π / 2)
    ~ max_ang (double, default: π / 2)

    If you want to set it to 270 degrees, it will be as follows.
    min_ang: -135 * π / 180.0 = -2.3561...
    max_ang: 135 * π / 180.0 = -2.3561...

    Reference URL
    http://wiki.ros.org/hokuyo_node

     

Anonymous
Anonymous

Add attachments
Cancel