ROS 2 node for PlayStation 5 HD camera

Hi community.

I have implemented a simple ROS 2 node for the official PlayStation 5 HD camera ( https://www.playstation.com/en-us/accessories/hd-camera/ ) to get it work with my own camera. It makes the setup of the camera easier.

About camera. PS 5 camera is a good HD stereo camera (two monocular cameras) with high resolution (1080p Capture, frame rates of up to 60 FPS). That can be a good choice for stereo visual SLAM. Moreover it’s quite cheap option (60 USD).

I think it could be a good idea to share this package with the ROS community. What do you think about it?

2 Likes

Reminds me of how many projects we used the PS3 Eye cameras in, such a hackable platform!

1 Like

Sadly I haven’t found any ROS 2 wrapper for this camera. I thinks this camera is underestimated

source code will be published here: GitHub - vovaekb/ps5_camera_ros · GitHub

1 Like

That seems pretty good for the price, though the baseline is a bit short. The cameras are presumably trigger synchronized?

1 Like

yes, they are synchronized

1 Like

Looking at the code, it appears you can connect to the camera via a regular UVC (USB video class) interface. Is this correct?

Is there any stereo processing done on the camera itself?

it appears you can connect to the camera via a regular UVC (USB video class) interface. Is this correct?

yes, correct

Is there any stereo processing done on the camera itself?

not sure there is any stereo processing in the camera

This is fantastic work! Any way I could convince you to add some rudimentary documentation? I would like to share it with the broader community but I am a bit concerned that the README is effectively empty.

1 Like

Thank you very much for your feedback. I will add some documentation to README

1 Like

A bit of self advertisement: If the camera works as a regular UVC device, I guess it would also work with the camera_ros package. This node has the advantage that it also supports all the other libcamera cameras, such as the Raspberry Pi Camera Modules and the Intel IPU6.

2 Likes

thank you for information. It’s worth trying

@Vladimir_Privalov thanks for updating the ReadMe. That helps a lot.

Quick question because I am not familiar with the hardware. Does the node support a depth image out of the box? I didn’t see anything in the source code. Given what I’ve read here it sounds like the hardware supports producing a depth image but that capability is not available via the firmware you are using. What’s the likelihood of that becoming a feature down the road?

you are welcome.

You’re right. The node doesn’t support a depth image out of the box.

At that moment I don’t know about producing a depth image via the firmware. I can try to make a small research to find out more about the depth information in the firmware. I’ll keep you posted.

2 Likes

Information about producing a depth image via the firmware. Sony (the camera vendor) does not have plans to add this native functionality to the firmware. ​Sony designed and marketed the PS5 HD Camera with a very specific, limited scope in mind: gameplay streaming and basic video creation.

Update: Fixed mistakes in the instructions how to compile and run the package