From: Victor <it...@gm...> - 2013-01-18 22:12:38
|
How can I make it so that the laser is in the middle (vertically) of my robot? I'm using the following sick_laser: define sick_laser laser ( range_min 0.0 range_max 8.0 fov 180.0 samples 361 color "blue" size [ 0.14 0.14 0.01] ) The code above attaches the laser on top of my robot, is there a way I can put the laser to the side of my robot instead? -- View this message in context: http://player-stage-gazebo.10965.n7.nabble.com/Height-of-Laser-tp18547.html Sent from the playerstage-users mailing list archive at Nabble.com. |
From: Rich M. <jp...@gm...> - 2013-01-19 00:37:17
|
On 01/18/2013 05:12 PM, Victor wrote: > How can I make it so that the laser is in the middle (vertically) of my > robot? > > I'm using the following sick_laser: > > define sick_laser laser > ( > range_min 0.0 > range_max 8.0 > fov 180.0 > samples 361 > > color "blue" > size [ 0.14 0.14 0.01] > ) > > The code above attaches the laser on top of my robot, is there a way I can > put the laser to the side of my robot instead? > You can give it a pose when you create it: sick_laser( pose [ 0 0 0 0 ] ) Rich |