forked from laboshinl/loam_velodyne
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extracted laser odometry component into own class.
* Let transformToEnd transform a whole cloud at once instead of only one point, since it was only called in loops over whole clouds. * Reduced scopes of variables where possible. Changes to the logic: * Do not publish corner and surface clouds during initialization, as they are anyhow rejected without the corresponding full resolution cloud (which was not sent during initialization). New Features: * All buffers used during optimization are now dynamic and automatically adapted to the currently processed cloud sizes. * Again, there are two modis: active and passive. However, passive mode requires some further work with respect to result management.
- Loading branch information
1 parent
40ac7a1
commit 5fe0300
Showing
8 changed files
with
1,130 additions
and
860 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include <ros/ros.h> | ||
#include "lib/LaserOdometry.h" | ||
|
||
|
||
/** Main node entry point. */ | ||
int main(int argc, char **argv) | ||
{ | ||
ros::init(argc, argv, "laserOdometry"); | ||
ros::NodeHandle node; | ||
ros::NodeHandle privateNode("~"); | ||
|
||
loam::LaserOdometry laserOdom(0.1); | ||
|
||
if (laserOdom.setup(node, privateNode)) { | ||
// initialization successful | ||
laserOdom.spin(); | ||
} | ||
|
||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.