-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Airsim stereo camera image with stereo_image_proc (ros) #4634
Comments
I resolved it by myself! |
For those who struggling on this question I find out the problem. Because in airsim ros-node it doesn't provide baseline in camera_info. So if you want to get the point cloud through disparity image, you need to provide the Tx parameter manually in one of projection matrix in camera_info. |
@CWC107753035 |
@ryoma310, how did you arm and takeoff this drone? I cannot see any service or topic to do so: |
I think you can use ros service call to takeoff. Maybe /airsim_node
/PX4/takeoff ?
Kanishk Vishwakarma ***@***.***>於 2023年6月23日 週五,15:32寫道:
… @ryoma310 <https://github.com/ryoma310>, how did you arm and takeoff this
drone? I cannot see any service or topic to do so:
[image: image]
<https://user-images.githubusercontent.com/52484751/248202631-0cf0d0cb-c25e-42bf-b3d6-8c2b6f0778a0.png>
[image: image]
<https://user-images.githubusercontent.com/52484751/248202524-b9edf858-2c3a-4083-87db-1683e9249be8.png>
—
Reply to this email directly, view it on GitHub
<#4634 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOHFC7R7YTRGWLMOICTKWI3XMVBCXANCNFSM54GP3TZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I am running a |
There also seems to be no option to set the state (OFFBOARD/ALTITUDE/POSITION etc.) |
According what you said, i think your mavlink doesn't connect to your airsim. Does your QGC can connect to your airsim? If so , maybe you can try to takeoff by using QGC GUI? |
I am new to PX4, I did not setup PX4 sitl for AirSim. Now I did and it's working perfectly fine!! |
Question
What's your question?
I try to use stereo_image_proc to depth estimation from images obtained by airsim_ros_pkg.
It seems to work well as I see disparity image.
But when I check the point cloud, it shows only one point.
Include context on what you are trying to achieve
Context details
This is my setting.json
Include details of what you already did to find answers
I search about it and found that camera_info may have same error.
I checked the topic detail and find that the projection matrix of left and right camera are same.
(because of this, stereo_image_proc node cannot calculate the depth.)
The text was updated successfully, but these errors were encountered: