Comments (4)
Yes, there might be some issues with the data since I convert ros2bag to rosbag. Thanks for your help!
from direct_lidar_odometry.
Hi @JereKnuutinen -- thanks for the interest in our work! Yes, the topic /robot/dlo/odom_node/pose
is the LiDAR sensor's pose relative to its initial position.
There may be a few reasons why you aren't seeing the same number of poses as are point cloud frames. If you are using our start-up procedure via an IMU, the first X
seconds of data (default 3
) is discarded until gravity and biases are calibrated for. Another reason may be that some frame are being processed too slowly for some reason (long GICP optimization time, slow processor, etc), and since the subscriber only has a queue size of 1, if the processing time exceeds the LiDAR frame rate, the next frame would be dropped. If this is the case, you can try increasing the queue size (at the risk of not providing the system with the most up-to-date sensor data), decreasing playback speed, or finding ways to increase processing speed (i.e., increase voxelization). Let me know if that helps.
from direct_lidar_odometry.
Thanks for your fast reply. It seems that the reason is that at the beginning the first three frames are not processed indeed.
If I use rostopic echo /robot/dlo/odom_node/pose/header, I get the following output:
`seq: 0
stamp:
secs: 1681908846
nsecs: 135304192
frame_id: "robot/odom"
seq: 1
stamp:
secs: 1681908846
nsecs: 234621440
frame_id: "robot/odom"
seq: 2
stamp:
secs: 1681908846
nsecs: 335826688
frame_id: "robot/odom"
seq: 3
stamp:
secs: 1681908846
nsecs: 435209984
frame_id: "robot/odom"
seq: 4
stamp:
secs: 1681908846
nsecs: 534959104
frame_id: "robot/odom"`
and if I echo my lidar data I get:
`rostopic echo /synced_pc_lidar_2/header
seq: 0
stamp:
secs: 1681908845
nsecs: 835490048
frame_id: "velodyne1"
seq: 0
stamp:
secs: 1681908845
nsecs: 935071488
frame_id: "velodyne1"
seq: 0
stamp:
secs: 1681908846
nsecs: 35755776
frame_id: "velodyne1"
seq: 0
stamp:
secs: 1681908846
nsecs: 135304192
frame_id: "velodyne1"
seq: 0
stamp:
secs: 1681908846
nsecs: 234621440
frame_id: "velodyne1"
seq: 0
stamp:
secs: 1681908846
nsecs: 335826688
frame_id: "velodyne1"
seq: 0
stamp:
secs: 1681908846
nsecs: 435209984
frame_id: "velodyne1"
seq: 0
stamp:
secs: 1681908846
nsecs: 534959104
frame_id: "velodyne1"`
As we can see that the after three first lidar frames timestamps start to match.
. However, in my dlo.yaml file I have put imu and gravity Align to false like this:
dlo:
version: 1.4.3
adaptiveParams: true
imu: false
gravityAlign: false
odomNode:
odom_frame: odom
child_frame: base_link
mapNode:
publishFullMap: true
publishFreq: 1.0
leafSize: 0.25
So I have no idea why this is happening. I also played my bag with rate=0.1 so my system should be cable of handling the incoming messages.
from direct_lidar_odometry.
Ah, so the first frame will return since it's checking if the system has initialized, and then the second frame will be the first target frame and will return after setting it as so (since you can't align using just one frame).
Besides the first two frames though, I'm not seeing any other dropped frames on my test data. Perhaps it could be a system-specific or data-specific issue?
from direct_lidar_odometry.
Related Issues (20)
- a little problem HOT 1
- Bug in adaptive threshold. HOT 2
- Question about the querying efficiency. HOT 1
- Initialization function HOT 4
- large drift in z-axis HOT 2
- Parameter tuning suggestions HOT 6
- How to improve the publish frequency of odom? HOT 3
- About IMU Preintegration! HOT 2
- ROS 2 support HOT 1
- Nano-GICP branch HOT 1
- Loop closure HOT 2
- Usage of LIDAR intensities HOT 2
- Drift using 2D Laser in large spaces HOT 1
- Run in Simulation
- Remove "namespace" attribute of the published topics and .pcd file connot be open.
- Ros2 port? HOT 1
- Catkin_make error with ros noetic running on ubuntu 20.04 HOT 2
- sudden changes in this->pose
- Question about convex hull of the keyframe set
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 direct_lidar_odometry.