User Tools

Site Tools


eeros_architecture:control_system:available_blocks:rossublaserscan

This is an old revision of the document!


ROS Subscriber Laser Scan

This block receives a ROS message of type sensor_msgs::LaserScan. Each time the block is run by its time domain, the last message received is driven on its output signals.

  // create subscriber block, laserscanner range has a size of 150 values
  RosSubscriberLaserScan<Matrix<150, 1, double>, Matrix<150, 1, double >> laserScan("myNode/myTopic", 100, false);

The template parameter of the block determines the size of the range and intensity vectors.

eeros_architecture/control_system/available_blocks/rossublaserscan.1509909785.txt.gz · Last modified: 2017/11/05 20:23 (external edit)