Using of a motion capture (Vicon) room as feeback of the position for Ardupilot (replacing the gps)

Hello,

We are working on a project to fly a linux based drone with a raspberry pi and a Navio2 plugged on it in a motion capture room (Vicon). Unfortunately the Vicon software we have access to is Vicon Nexus. The goal is to replace the GPS information with the motion capture room data. There is a page on the ardupilot documentation about it : https://ardupilot.org/copter/docs/common-vicon-for-nongps-navigation.html . Does anyone have already implemented this method ? Does it work ? The final goal of the project is to implement this for a swarm of drones. Is there an already existing way to make multiple drones fly in a motion capture room ? Finally we would want to implement our own controller so is there a way to combine ROS and Ardupilot so we can implement our controller in ROS without having to redo everything that can be used from Ardupilot ?

Does anyone have already implemented this method ? Does it work ?

AFAIK @tridge and other persons did it and it works.

Finally we would want to implement our own controller so is there a way to combine ROS and Ardupilot so we can implement our controller in ROS without having to redo everything that can be used from Ardupilot ?

Yes, use mavros and you can do just that.