Comments (2)
I print that the time difference between rectified left and right frames is around 7–13us.
For my case, to avoid some peak in a different timestamp, I put the condition in less than 100us.
- if(left->getSequenceNum() != right->getSequenceNum()) {
+ if(left->getSequenceNum() != right->getSequenceNum() && std::chrono::duration_cast<std::chrono::microseconds>(right->getTimestamp() - left->getTimestamp()).count() >= 100) {
RCLCPP_WARN(getROSNode()->get_logger(), "Left and right rectified frames are not synchronized!");
} else {
from depthai-ros.
Hi, thanks for the feature idea, for now it's hard to estimate ETA on that, but feel free to open a PR with the changes, from my side following things need to be considered:
- Adding a parameter to choose whether to sync based on the Sequence number or a timestamp
- This needs to be checked but I assume that the timestamp difference might need to be tuned based on camera FPS
Additionally I wanted to mention that in near future (not sure yet on the ETA) a Sync node will be added indepthai-core
that will allow easier syncing of multiple messages, after that is available it will be added to depthai_ros_driver
from depthai-ros.
Related Issues (20)
- 'camera.yaml' parameters not being used when launch 'camera.launch.py' HOT 2
- [BUG] ROS Documentation link goes to 404 Error page HOT 4
- [Performance] Oak-D camera not able to reach desired publish rates HOT 4
- Wants depthai-core v2.24.0 in ROS repository HOT 3
- Option to sync raw left/right streams HOT 2
- Mapping approaches for spatial object detection HOT 2
- [BUG] {colcon build fail - opencv version stderr} HOT 5
- [BUG] rgbd_pcl inconsistent Resolution configuration HOT 2
- [BUG] Right stereo camera is not detected with OAK-D SR PoE HOT 2
- How can I compress the camera data ? HOT 6
- [BUG] Depthai version in ROS Humble repos does not work with OAK-D SR PoE HOT 1
- When launch the OAK-D LR camera, it stops other USB device from working HOT 3
- exit code -11, cmd when running stereo_inertial_node on RPI4 HOT 2
- [BUG] {camera.launch.py not working} HOT 7
- URDF Plugin HOT 1
- [BUG] Cameras on different subnets cannot be launched HOT 2
- [Feature-Request] ROS Support for Sensor S5K33D HOT 2
- [BUG] Directions for low bandwidth for POE cameras are not easy to find from error message HOT 2
- [BUG] {Max 250hz IMU publish rate with rotation vector rate active} HOT 5
- Got a particular warning and 3D map didn't show up when trying to launch the rtabmap.launch.py with low_bandwidth parameter is set to be true HOT 4
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 depthai-ros.