eeros_architecture:control_system:available_blocks:rossublaserscan
This is an old revision of the document!
ROS Subcriber 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.
// define a handler for ROS nodes ros::NodeHandle rosNodeHandler; // create subcriber block, laserscanner range has a size of 150 values RosSubscriberLaserScan<Matrix<150, 1, double>, Matrix<150, 1, double >> laserScan(rosNodeHandler, "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.1509573493.txt.gz · Last modified: 2017/11/01 22:58 (external edit)