Comments (4)
I had the same problem with a hokuyo URG-04LX and after searching in the net, i found that the problem is from laser scanner. When i changed the scanner with hokuyo UST-10, the problem disappered.
from hector_slam.
I solved this problem with 3 levels of maps, highest resolution 0.03m, which works perfectly
from hector_slam.
Below is the code in hector mapping. When searchDir variable is above 0.2, it gives that output. Someone who know what that variable means may help.
can you try decreasing the frequency of your LaserScan topic? There may be a threshold of angle which may happen between consecutive scans. Or try increasing scan queue size?
bool estimateTransformationLogLh(Eigen::Vector3f& estimate, ConcreteOccGridMapUtil& gridMapUtil, const DataContainer& dataPoints)
{
gridMapUtil.getCompleteHessianDerivs(estimate, dataPoints, H, dTr);
//std::cout << "\nH\n" << H << "\n";
//std::cout << "\ndTr\n" << dTr << "\n";
if ((H(0, 0) != 0.0f) && (H(1, 1) != 0.0f)) {
//H += Eigen::Matrix3f::Identity() * 1.0f;
Eigen::Vector3f searchDir (H.inverse() * dTr);
//std::cout << "\nsearchdir\n" << searchDir << "\n";
if (searchDir[2] > 0.2f) {
searchDir[2] = 0.2f;
std::cout << "SearchDir angle change too large\n";
} else if (searchDir[2] < -0.2f) {
searchDir[2] = -0.2f;
std::cout << "SearchDir angle change too large\n";
}
updateEstimatedPose(estimate, searchDir);
return true;
}
return false;
}
from hector_slam.
This output generally indicates that the scan match estimate has a unusually high angular offset from the prior pose estimate. Moving the sensor slower or feeding higher scan update rates help to mitigate the problem.
from hector_slam.
Related Issues (20)
- Cannot locate node of type [hector_mapping] HOT 1
- Restart mapping with new pose service not in the melodic branch.
- frame namespace for base_link not working
- Mapping Only Mode using Ground Truth Pose
- map origin unit issue
- Resource not found error, please help
- Is there a way to install qt4 on ubuntu 20.04 HOT 1
- hector_trajectory_server exporting trajectory ?
- Why can't I create new file .launch?
- License
- Error has occurred while running 'roslaunch hector_slam_launch tutorial.launch' HOT 4
- Create service that manages hector's functions
- Cache static tf transforms from base to lidar frame(s) at node startup HOT 3
- undefined reference to `tf2_ros::TransformListener::TransformListener(tf2::BufferCore&, ros::NodeHandle const&, bool)' HOT 10
- Hector Slam metapackage not available for Noetic through apt? HOT 2
- Saving Geotiff map issue HOT 3
- Pointcloud is not directly on the built map HOT 1
- hector_slam with own laser data (only /scan data, no /tf)
- About playing rosbag in the tutorial HOT 1
- About using hector_slam can not display the map problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hector_slam.