IROS 2021
RTVS: A Lightweight Differentiable MPC Framework for Real-Time Visual Servoing
2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2021
In short
Simple extension of DeepMPCVS for real-time visual servoing. Although simple, we later built upon this to several cool works. In general, got me interested in visual servoing.
Simulator: servo a camera to a goal image, in a real scene
Visual servoing moves a camera until what it sees matches a goal image. You are looking through the camera inside a Gaussian splat of a real garden; the inset is the goal image, a real render of the same scene from the goal pose. The coloured strokes are the optical flow that still separates the current view from the goal image. Each control tick runs a few optimiser steps of a small model-predictive controller on that flow, then applies the resulting 6-DoF camera velocity, until the flow vanishes. Try fewer or more MPC steps per tick, and new start poses.
A simplified toy model written for this page to illustrate the idea. It is not the paper's code and produces no results from the paper. Scene: the garden capture from the Mip-NeRF 360 dataset (Barron et al., CVPR 2022), reduced for the web. It is used here only as an environment; it is not from the RTVS paper.
Abstract
Recent data-driven approaches to visual servoing have shown improved performances over classical methods due to precise feature matching and depth estimation. Some recent servoing approaches use a model predictive control (MPC) framework which generalise well to novel environments and are capable of incorporating dynamic constraints, but are computationally intractable in real-time, making it difficult to deploy in real-world scenarios. On the contrary, single-step methods optimise greedily and achieve high servoing rates, but lack the benefits of the MPC multi-step ahead formulation. In this paper, we make the best of both worlds and propose a lightweight visual servoing MPC framework which generates optimal control near real-time at a frequency of 10.52 Hz. This work utilises the differential cross-entropy sampling method for quick and effective control generation along with a lightweight neural network, significantly improving the servoing frequency. We also propose a flow depth normalisation layer which ameliorates the issue of inferior predictions of two view depth from the flow network. We conduct extensive experimentation on the Habitat simulator and show a notable decrease in servoing time in comparison with other approaches that optimise over a time horizon. We achieve the right balance between time and performance for visual servoing in six degrees of freedom (6DoF), while retaining the advantageous MPC formulation.
Why optical flow is useful for robot agents
Optical flow between the current camera image and a goal image tells a robot, for every tracked point, which way and how far the image still has to move. A visual-servoing controller turns that flow directly into a velocity command and stops when the flow vanishes. So an agent that can produce, retrieve or imagine a goal image can hand the low-level motion to visual servoing, without a 3D model of the scene or a hand-written motion plan, and it can read the remaining flow as a dense, interpretable measure of how far it is from done.
Questions and answers
- What is RTVS?
- RTVS is a lightweight model predictive control (MPC) framework for visual servoing. It generates control near real time, at a frequency of 10.52 Hz, while keeping the multi-step-ahead MPC formulation.
- How does RTVS reach near real-time rates?
- It uses the differential cross-entropy sampling method for quick and effective control generation, together with a lightweight neural network, which significantly improves the servoing frequency. Earlier MPC-based servoing approaches generalise well but are computationally intractable in real time.
- What is the flow depth normalisation layer?
- A layer proposed in the paper that ameliorates the issue of inferior two-view depth predictions from the optical flow network.
- How was RTVS evaluated?
- With extensive experiments on the Habitat simulator, for visual servoing in six degrees of freedom (6DoF). The paper reports a notable decrease in servoing time compared with other approaches that optimise over a time horizon.
Publication details
- Title
- RTVS: A Lightweight Differentiable MPC Framework for Real-Time Visual Servoing
- Authors
- M. Nomaan Qureshi, Pushkal Katara, Abhinav Gupta, Harit Pandya, YVS Harish, AadilMehdi Sanchawala, Gourav Kumar, Brojeshwar Bhowmick, K Madhava Krishna
- Venue
- 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)
- Year
- 2021
- Pages
- 3798–3805
- DOI
- 10.1109/IROS51168.2021.9636290
- Topics
- Visual servoing and optical flow
- Keywords
- RTVS, real-time visual servoing, visual servoing, differentiable MPC, model predictive control, cross-entropy method, optical flow, 6-DoF, Habitat simulator, DeepMPCVS
How to cite
M. Nomaan Qureshi, Pushkal Katara, Abhinav Gupta, Harit Pandya, YVS Harish, AadilMehdi Sanchawala, Gourav Kumar, Brojeshwar Bhowmick, K Madhava Krishna. “RTVS: A Lightweight Differentiable MPC Framework for Real-Time Visual Servoing.” 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2021, pp. 3798–3805. doi:10.1109/IROS51168.2021.9636290.
@inproceedings{qureshi2021rtvs,
author = {M. Nomaan Qureshi and Pushkal Katara and Abhinav Gupta and Harit Pandya and Y V S Harish and AadilMehdi Sanchawala and Gourav Kumar and Brojeshwar Bhowmick and K. Madhava Krishna},
title = {RTVS: A Lightweight Differentiable MPC Framework for Real-Time Visual Servoing},
booktitle = {2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
year = {2021},
pages = {3798-3805},
doi = {10.1109/IROS51168.2021.9636290}
}
* denotes equal contribution.