#include <ros.h>
#include <ros/time.h>
#include <sensor_msgs/Range.h>
Go to the source code of this file.
Functions | |
float | getRange (PinName pin_num) |
int | main () |
Variables | |
char | frameid [] = "/ir_ranger" |
ros::NodeHandle | nh |
ros::Publisher | pub_range ("range_data",&range_msg) |
sensor_msgs::Range | range_msg |
unsigned long | range_timer |
Timer | t |
float getRange | ( | PinName | pin_num | ) |
Definition at line 30 of file IrRanger.cpp.
int main | ( | void | ) |
Definition at line 46 of file IrRanger.cpp.
char frameid[] = "/ir_ranger" |
Definition at line 43 of file IrRanger.cpp.
Definition at line 11 of file IrRanger.cpp.
ros::Publisher pub_range("range_data",&range_msg) |
sensor_msgs::Range range_msg |
Definition at line 14 of file IrRanger.cpp.
unsigned long range_timer |
Definition at line 24 of file IrRanger.cpp.
Timer t |
Definition at line 45 of file IrRanger.cpp.