Nodelet that uses las3D_PointCloud class to generate PointCloud from 2D scan data and external shaft position. This nodelet subscribes sensor_msgs::LaserScan, sensor_msgs::JointState, and projects the scan in to pointcloud, using the transform published by the pkg laser_rotate3D. The PointCloud is accumulated on the desired /ac_frame (see laser3D_pointcloud.lauch).
More...
Go to the source code of this file.
|
sensor_msgs::JointStatePtr | first_state1 (new sensor_msgs::JointState) |
|
sensor_msgs::JointStatePtr | first_state2 (new sensor_msgs::JointState) |
|
int | main (int argc, char **argv) |
|
void | scan_cb (const sensor_msgs::LaserScan::ConstPtr &scan_in) |
| Callback from the LaserScan subscribed topic. More...
|
|
void | state_cb (const sensor_msgs::JointState::ConstPtr &state_in) |
| Callback from the JointState subscribed topic. More...
|
|
Nodelet that uses las3D_PointCloud class to generate PointCloud from 2D scan data and external shaft position. This nodelet subscribes sensor_msgs::LaserScan, sensor_msgs::JointState, and projects the scan in to pointcloud, using the transform published by the pkg laser_rotate3D. The PointCloud is accumulated on the desired /ac_frame (see laser3D_pointcloud.lauch).
- Author
- Diogo Matos
- Date
- June 2013
Definition in file main.cpp.
sensor_msgs::JointStatePtr first_state1 |
( |
new sensor_msgs::JointState |
| ) |
|
sensor_msgs::JointStatePtr first_state2 |
( |
new sensor_msgs::JointState |
| ) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
void scan_cb |
( |
const sensor_msgs::LaserScan::ConstPtr & |
scan_in | ) |
|
Callback from the LaserScan subscribed topic.
- Parameters
-
[in] | const | sensor_msgs::LaserScan::ConstPtr& |
Definition at line 85 of file main.cpp.
void state_cb |
( |
const sensor_msgs::JointState::ConstPtr & |
state_in | ) |
|
Callback from the JointState subscribed topic.
- Parameters
-
[in] | const | sensor_msgs::JointState::ConstPtr& |
Definition at line 54 of file main.cpp.
ros::Time firstscan_stamp |