Skip to content
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

ROS in Ubuntu to drive and record insta360 camera topics #9

Open
gyt290811 opened this issue Jul 18, 2023 · 14 comments
Open

ROS in Ubuntu to drive and record insta360 camera topics #9

gyt290811 opened this issue Jul 18, 2023 · 14 comments

Comments

@gyt290811
Copy link

Hello, is there any way to use ROS in Ubuntu to drive and record insta360 camera topics? I saw that you have already recorded a bag file of the insta360 camera.

Getting started
Launching the demo
Make sure to open a new terminal after building the project for the first time.

Start by downloading the demo bag file with

roscd image_projection_demo/bags/
wget https://www.sim.informatik.tu-darmstadt.de/~oehler/insta360_air_robocup2018.bag
Launch the demo with

roslaunch image_projection_demo demo_insta360.launch
An [rqt](http://wiki.ros.org/rqt) window with the source video and projection examples will open. The [rqt_reconfigure](http://wiki.ros.org/rqt_reconfigure) GUI on the right side can be used to change projection parameters at runtime.
@Martin-Oehler
Copy link
Member

Hello,
you can connect the Insta360 Air via USB to a ubuntu pc and it will be recognized as a UVC device. You can use any ros camera driver to stream the fisheye images. We use http://wiki.ros.org/libuvc_camera.

Best regards,
Martin

@Gatsby23
Copy link

Hello, you can connect the Insta360 Air via USB to a ubuntu pc and it will be recognized as a UVC device. You can use any ros camera driver to stream the fisheye images. We use http://wiki.ros.org/libuvc_camera.

Best regards, Martin

What fps of this camera?

@Martin-Oehler
Copy link
Member

The Insta360 Air supports the following formats:

    [0]: 'MJPG' (Motion-JPEG, compressed)
        Size: Discrete 1472x736
            Interval: Discrete 0.033s (30.000 fps)
        Size: Discrete 2176x1088
            Interval: Discrete 0.033s (30.000 fps)
        Size: Discrete 3008x1504
            Interval: Discrete 0.033s (30.000 fps)
    [1]: 'H264' (H.264, compressed)
        Size: Discrete 1920x960
            Interval: Discrete 0.033s (30.000 fps)
            Interval: Discrete 0.042s (24.000 fps)
            Interval: Discrete 0.050s (20.000 fps)
        Size: Discrete 2560x1280
            Interval: Discrete 0.033s (30.000 fps)
            Interval: Discrete 0.042s (24.000 fps)
            Interval: Discrete 0.050s (20.000 fps)

@Gatsby23
Copy link

The Insta360 Air supports the following formats:

    [0]: 'MJPG' (Motion-JPEG, compressed)
        Size: Discrete 1472x736
            Interval: Discrete 0.033s (30.000 fps)
        Size: Discrete 2176x1088
            Interval: Discrete 0.033s (30.000 fps)
        Size: Discrete 3008x1504
            Interval: Discrete 0.033s (30.000 fps)
    [1]: 'H264' (H.264, compressed)
        Size: Discrete 1920x960
            Interval: Discrete 0.033s (30.000 fps)
            Interval: Discrete 0.042s (24.000 fps)
            Interval: Discrete 0.050s (20.000 fps)
        Size: Discrete 2560x1280
            Interval: Discrete 0.033s (30.000 fps)
            Interval: Discrete 0.042s (24.000 fps)
            Interval: Discrete 0.050s (20.000 fps)

Thank you for your quick replay. Can it link to the PC through ROS directly ? I wanna to use it with an extra IMU, could you please give me some help? Thank you very much!

@Martin-Oehler
Copy link
Member

Yes. Please see my previous reply in this thread.

@Gatsby23
Copy link

Yes. Please see my previous reply in this thread.

Thank you very much! I get your point! That's really meanful to me. Thank you for your help at all!

@Gatsby23
Copy link

The Insta360 Air supports the following formats:

    [0]: 'MJPG' (Motion-JPEG, compressed)
        Size: Discrete 1472x736
            Interval: Discrete 0.033s (30.000 fps)
        Size: Discrete 2176x1088
            Interval: Discrete 0.033s (30.000 fps)
        Size: Discrete 3008x1504
            Interval: Discrete 0.033s (30.000 fps)
    [1]: 'H264' (H.264, compressed)
        Size: Discrete 1920x960
            Interval: Discrete 0.033s (30.000 fps)
            Interval: Discrete 0.042s (24.000 fps)
            Interval: Discrete 0.050s (20.000 fps)
        Size: Discrete 2560x1280
            Interval: Discrete 0.033s (30.000 fps)
            Interval: Discrete 0.042s (24.000 fps)
            Interval: Discrete 0.050s (20.000 fps)

Sorry, there are only last question bothering me a lot. Does the image from the insta360 air have latency of played as same as a normal pinhole camera?

@Martin-Oehler
Copy link
Member

As the Insta360 Air communicates via USB as an UVC device as other cameras as well, there is no difference in latency.

@johnzjq
Copy link

johnzjq commented Jan 12, 2024

Yes. Please see my previous reply in this thread.

Hi Martin, is it possible to capture the IMU measurement together with the images?

@Martin-Oehler
Copy link
Member

As far as I am aware, the Insta360 Air does not have an integrated IMU.

@johnzjq
Copy link

johnzjq commented Jan 13, 2024

As far as I am aware, the Insta360 Air does not have an integrated IMU.

I see. But have you tried other products from Insta360? The insta360 one series do have IMU installed.

@StefanFabian
Copy link
Member

No, unfortunately, we do not have experience with newer Insta360 products.
If you investigate their application in robotics, we would be very interested in your findings.

@johnzjq
Copy link

johnzjq commented Jan 15, 2024

No, unfortunately, we do not have experience with newer Insta360 products. If you investigate their application in robotics, we would be very interested in your findings.

Thanks! Stefan! I will try to contact insta360 and see if it is possible to have a trial on their product!

@XUTONG1024
Copy link

No, unfortunately, we do not have experience with newer Insta360 products. If you investigate their application in robotics, we would be very interested in your findings.

Thanks! Stefan! I will try to contact insta360 and see if it is possible to have a trial on their product!

Hi,May I ask if you have made any progress on this issue? I am currently considering using the built-in IMU of Insta360 x2 to implement vio. Can you give me some suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants