/home/laradmin/lar/sensors/fusion/laser3D_pointcloud/src/main.cpp File Reference
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...
#include <laser3D_pointcloud/laser3D_pointcloud.h>
Go to the source code of this file.
Detailed Description
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.
Function Documentation
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 86 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 55 of file main.cpp.
Variable Documentation