Comments (7)
Hi @bach05, I am currently facing the same issue with 2 basler ace cameras and on Noetic as well. Let us update on this thread if we have any breakthroughs
from pylon-ros-camera.
My hypothesis it's we need a common parent frame (e.g. a fixed world frame) for both cameras. Otherwise tf is not able to manage both cameras. In fact if you run onyl ona camera, the tf will be published.
I am going to calibrate extrinsics of both cameras wrt a fixed point to validate this hypothesis.
from pylon-ros-camera.
I used the ros stereo cameracalibrator.py to calibrate the intrinsics and extrinsics.
How are you able to get tf with only one camera? did you do monocular calibration?
My rqt graph looks like this :
and I am receiving images on rect too. I republished camera_info for stereo/left
and stereo/right
from another topic that provides it, /stereo/leica_basler_left/pylon_camera_node/camera_info
and that solves the problem of camera_info
but image frame does not match?
I am new to stereo vision and I am quite possibly doing everything wrongly
from pylon-ros-camera.
How are you able to get tf with only one camera? did you do monocular calibration?
I used the ros stereo cameracalibrator.py to calibrate the intrinsics and extrinsics.
How are you able to get tf with only one camera? did you do monocular calibration?
Yes, you can do monocular calibration with a single camera.
and I am receiving images on rect too. I republished camera_info for
stereo/left
andstereo/right
from another topic that provides it,/stereo/leica_basler_left/pylon_camera_node/camera_info
and that solves the problem ofcamera_info
but image frame does not match?
It's a bit hard to debug. There is a mismatch between the camera frame (in camera info header) and the image frame (in the image topic). Probably you should check the nodes that are publishing those information to fix the message headers in order to have the same frame. If you need to visualize the images only, you can just use the Image tool on Rviz.
from pylon-ros-camera.
Ok, I will try to fix the message headers. The end goal for me would be to get a pointcloud2 out on Rviz with the stereo camera setup. By the way, I have also tried to link back to /world like you have mentioned, but I think I need to fix my headers first.
from pylon-ros-camera.
Hello @bach05 and @BruttherJOE
Thank you for looking at this issue. Did you manage to implement some fixes at the end?
Best regards,
Francois
from pylon-ros-camera.
hello @bach05 @FrancoisPicardDTI,
I believe I did manage to fix my headers, and I was able to get camera_info and tf_frames from my calibrated files. However, the rectified images looked a bit wrong and was zoomed in wrongly possibly due to my calibration (I am using some custom stereo setup which goes through multiple lenses). Also, I was not able to get a pointcloud, perhaps due to this reason. Perhaps I do not know enough to debug these problems, but I calibrated my cameras in another way with matlab in the end as we can choose other (objectively better?) calibration patterns for our needs and converting / importing the parameters into opencv. The idea of using ros still interests me, so I will take a look at this in my free time.
Best Regards,
Joe
from pylon-ros-camera.
Related Issues (20)
- Frame Transmission Delay HOT 4
- Chunk Mode Timestamp HOT 6
- Make Blaze camera dependency optional HOT 6
- [Humble] build error: no member named OutlierRemovalTolerance HOT 1
- Blaze Camera not being found by ROS2 node HOT 11
- can't found pylon_camera pylon_camera_node HOT 4
- [Humble] Boost COMPONENTS libraries getting replaced by pylon_ros2_camera_component HOT 3
- No "running" status message when using specific device user id HOT 2
- Driver installation problem HOT 5
- AutofuntionROI Offset OutOfRangeException HOT 4
- Frame rate not adjusting with new ROI HOT 2
- multiple USB cameras retrieveresult delay HOT 1
- Question about function PylonInitialize HOT 5
- pylon_camera fps not reaching set frame_rate HOT 8
- Camera Config help for short range imaging HOT 2
- Connection multiple cameras ROS2 and publish images HOT 2
- ACE cameras PTP synchronization (acA_1920-40gc) HOT 2
- No available camera. Keep waiting and trying... HOT 2
- Synchronization error with image timestamp
- [Humble] Don't waste time on blocking image data readout 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 pylon-ros-camera.