You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know if there is a way to change the manual focus distance of the cameras of the drones, either through settings.md or by calling a function, like it is done in UE4 with a Cinematics Camera:
Is it possible to place a Cinematics Camera on the drones?
When I perform the HIL simulation in the UE4, after setting the Setting file, I can generate the depth image. The camera used is the camera in the model. In this case, where can the internal reference such as the camera focal length be found?
thanks!
I can set those values of a Cinematics Camera if I place it in the editor of the map, but can't do it through the AirSim API or the Settings file. Seems like the camera integrated in AirSim is a regular camera. I guess it is not possible to place a cinematic camera in order to change those parameters, or to change things like the focus distance of the cameras integrated in the drones.
Is the camera that generates the depth map in airsim the same as the focal length of the Cinematics Camera? If not, if I want to see the internal parameters of the depth camera, where should you find it?
thanks!
The thing is that Unreal API does provice tools to play with the "UCineCameraComponent", where it is possible to change the FocusDistance programatically from their API. (code attached)
Would be great if AirSim would let us place a CineCameraComponent instead of a simple camera on the drones and change its params through the API.
Is the camera model in UE4 or Airsim a pinhole imaging model? Or other models?
I try to use the camera's internal parameters (like Equivalent Focal Length) and images for distance measurement.
Activity
[-]Focus distance of drones[/-][+]Focus distance of the cameras[/+]surongkai commentedon Nov 21, 2019
Hello, I want to know the photo shown in the picture above, where is the focus setting from?
ppueyor commentedon Nov 21, 2019
In Unreal Editor 4, if you place a Cinematic Camera.
surongkai commentedon Nov 21, 2019
When I perform the HIL simulation in the UE4, after setting the Setting file, I can generate the depth image. The camera used is the camera in the model. In this case, where can the internal reference such as the camera focal length be found?
thanks!
ppueyor commentedon Nov 21, 2019
Yeah, that was my first question.
I can set those values of a Cinematics Camera if I place it in the editor of the map, but can't do it through the AirSim API or the Settings file. Seems like the camera integrated in AirSim is a regular camera. I guess it is not possible to place a cinematic camera in order to change those parameters, or to change things like the focus distance of the cameras integrated in the drones.
Would be interesting though!
surongkai commentedon Nov 21, 2019
Is the camera that generates the depth map in airsim the same as the focal length of the Cinematics Camera? If not, if I want to see the internal parameters of the depth camera, where should you find it?
thanks!
ppueyor commentedon Nov 25, 2019
The thing is that Unreal API does provice tools to play with the "UCineCameraComponent", where it is possible to change the FocusDistance programatically from their API. (code attached)
Would be great if AirSim would let us place a CineCameraComponent instead of a simple camera on the drones and change its params through the API.
[-]Focus distance of the cameras[/-][+]CinematicCamera on Drones[/+]LIU-Xueming commentedon Oct 28, 2021
Hi,
Is the camera model in UE4 or Airsim a pinhole imaging model? Or other models?
I try to use the camera's internal parameters (like Equivalent Focal Length) and images for distance measurement.
Any suggestions ?
Thanks!
ppueyor commentedon Oct 28, 2021
Hi LIU-Xueming,
We are trying to integrate the Cinematic Camera into the main branch of AirSim as discussed in #3949.
In the meanwhile, CinemAirSim does the trick: https://github.com/ppueyor/CinemAirSim
U can install and use it.
Hope it helps!
gudong321 commentedon Apr 6, 2022
CinemAirSim is just for Linux, but for win? And this bug #3487 Pablo Pueyo Ramon (@ppueyor)
ppueyor commentedon Apr 6, 2022
Hi gudong321,
Theoretically, it is also available for Windows, but I didn't have the chance to test it there.
jonyMarino commentedon May 30, 2022
gudong321 the cinematographic camera works on windows too!