Most embedded cameras talk MIPI CSI-2, a fast link that only reaches about a ribbon cable’s length. GMSL isn’t a rival to it. It’s a way to carry the same CSI-2 signal several metres over one rugged coax, which is why robots with cameras spread across the body use it.
I worked through this bringing up the cameras on a Unitree H2 Plus humanoid at work, and while preparing an SDK training on it. Its head cameras use GMSL2, its wrist cameras use GMSL or USB depending on the unit, and all of them had to stream from the robot’s headless onboard Jetson to a laptop.
The signal path
Both paths start and end in CSI-2, so the computer can’t tell the difference. GMSL only replaces the middle hop: a serializer packs the signal onto one shielded, locking coax that also sends control commands back to the camera and power out to it.
Four cameras, one port
With MIPI, every camera costs one of the computer’s few camera ports. A GMSL quad deserializer merges four cameras into a single link and triggers them at the same instant, which matters for stereo depth and for stitching views together.
At a glance
| MIPI CSI-2 | GMSL | |
|---|---|---|
| Cable length | about 10–30 cm | up to about 15 m |
| Cable and connector | flat flex ribbon, not locking | coax, locking FAKRA connector |
| Power to the camera | separate wires | over the same coax |
| Noise and vibration | sensitive | built for cars |
| Extra hardware | none | serializer and deserializer |
| Several cameras | one computer port each | up to four per deserializer, in sync |
| Bandwidth | set by lane count | about 3 (GMSL1), 3 or 6 (GMSL2), 12 Gbit/s (GMSL3) |
| Cost and power use | low | higher |
Figures are typical values from the GMSL generations Analog Devices sells; check the datasheet for a specific part.
The cameras I worked with
The head camera is a stereo pair: two sensors a fixed 60 mm apart, so software can work out depth from the small difference between the two images. The wrist camera trades resolution for a fisheye lens wider than 180°, so the hand sees what it’s about to grab even from the side. The filled shapes are the cameras’ horizontal fields of view, opening out from the camera, drawn to scale. Specs are from Unitree’s public H2 Plus pages.
The same robot family uses both links
Unitree’s H2 range makes the trade-off concrete. The base models and the Plus have the same 60 mm stereo head, wired two different ways:
| H2 and H2 EDU | H2 Plus | |
|---|---|---|
| Head camera link | MIPI CSI-2, 4 lanes | GMSL2 |
| Goes to | the motion-control computer | a separate Jetson for development |
| Resolution | 2064 × 1552 · 30 FPS | 2560 × 1984 · 30 FPS |
| How you get images | streams that computer chooses to send | raw frames, yours to process |
On the base models the camera sits close to the computer that reads it, so MIPI is enough. On the Plus the frames go to a development computer elsewhere in the body, and GMSL makes that run possible while handing the developer raw frames.
How the driver connects it all
Each kind of camera reaches the same place, a numbered video device, by a different road. The USB cameras are handled by a driver built into Linux and appear as soon as the computer boots. The GMSL cameras need the camera vendor’s driver, which configures the sensor and both ends of the coax link and must be loaded again after every boot. Their raw images then pass through NVIDIA’s image processor, the ISP, which turns sensor data into a colour picture.
Linux hands each new video device the first free number. That’s why the same camera can be video0 on one robot and video4 on another: it depends on which drivers registered first. GMSL wrist cameras, where fitted, take GMSL ports of their own.
Which to choose
MIPI CSI-2 suits a camera that sits beside the computer in a compact, still enclosure, where cost and power matter more than reach.
GMSL suits cameras spread around a robot: cables running through joints or a chassis, electrical noise from motors, or several cameras that must capture in sync.
USB cameras are the third option a robot often has. They’re plug and play and need no special drivers, but each one costs CPU time, cables are short, and they can’t be triggered together.
What bites in practice
- The generations don’t mix. GMSL1, GMSL2 and GMSL3 aren’t freely interchangeable, and none of them talk to TI’s FPD-Link, a similar system from another vendor. The serializer in the camera must match the deserializer on the board.
- Drivers come in threes. The computer needs drivers for the sensor, the serializer and the deserializer, plus device-tree entries describing them. On NVIDIA Jetson these come from the camera vendor and are tied to one JetPack version.
- Camera numbering isn’t stable. As the driver diagram shows, the numbers depend on which drivers registered first. Pick a camera by its name or path, not its number, and cover one lens while streaming to confirm which is left and which is right.
- USB cameras can fall asleep. Linux’s power saving may suspend a USB port, and the camera drops off mid-stream. On a robot, keep the camera ports’ power management switched off.
Upgrading JetPack can break GMSL cameras
The vendor’s camera drivers are built for one JetPack release. Before upgrading the operating system on a robot’s Jetson, check that the camera vendor ships drivers for the new version, or the GMSL cameras stop appearing.