Skip to content

CinematicCamera on Drones #2311

Closed
Closed

Description

Hi!

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:

image

Is it possible to place a Cinematics Camera on the drones?

Activity

  1. changed the title [-]Focus distance of drones[/-] [+]Focus distance of the cameras[/+] on Nov 13, 2019
  2. surongkai commented on Nov 21, 2019

    @surongkai

    Hello, I want to know the photo shown in the picture above, where is the focus setting from?

  3. ppueyor commented on Nov 21, 2019

    @ppueyor
    Author

    In Unreal Editor 4, if you place a Cinematic Camera.

  4. surongkai commented on Nov 21, 2019

    @surongkai

    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!

  5. ppueyor commented on Nov 21, 2019

    @ppueyor
    Author

    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!

  6. surongkai commented on Nov 21, 2019

    @surongkai

    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!

  7. ppueyor commented on Nov 25, 2019

    @ppueyor
    Author

    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.

    image

  8. changed the title [-]Focus distance of the cameras[/-] [+]CinematicCamera on Drones[/+] on Nov 28, 2019
  9. LIU-Xueming commented on Oct 28, 2021

    @LIU-Xueming

    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!

  10. ppueyor commented on Oct 28, 2021

    @ppueyor
    Author

    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!

  11. gudong321 commented on Apr 6, 2022

    @gudong321

    CinemAirSim is just for Linux, but for win? And this bug #3487 Pablo Pueyo Ramon (@ppueyor)

  12. ppueyor commented on Apr 6, 2022

    @ppueyor
    Author

    Hi gudong321,

    Theoretically, it is also available for Windows, but I didn't have the chance to test it there.

  13. jonyMarino commented on May 30, 2022

    @jonyMarino
    Collaborator

    gudong321 the cinematographic camera works on windows too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions