Flytte is an application for declarative drone control.
It has the goal to improve the user experience by controlling the drones from the 3rd person point of view. The system combines an intuitive user interface based on Augmented Reality techniques, Artificial Neural Networks that are responsible for online drone's pose detection and ROS-based core unit.
Right now it is only possible to use Flytte with Sphinx, which is a simulator for Parrot drones.
Installation:
sudo apt-get install ros-<rosdistro>-rosbridge-server
OpenCV3 needs to be installed in the system
Installation:
sudo apt-get install ros-<rosdistro>-web-video-server
- Build the application
git clone https://github.com/Flytte/flytte.git
cd flytte/backend/drone_ros_ws
ln -s /opt/ros/<rosdistro>/share/catkin/cmake/toplevel.cmake src/CMakeLists.txt
catkin_make
source devel/setup.bash
cd ../..
- Start the simulator
sphinx backend/simulation/empty.world backend/simulation/bebop2.drone
The firmwared should be running.
The default name of the network interface is eth0. To know more, look here.
- Start the Rosbridge
roslaunch rosbridge_server rosbridge_websocket.launch
- Start the Web Video Server
rosrun web_video_server web_video_server
- Start the Bebop Autonomy driver
roslaunch bebop_driver bebop_node.launch
- Start the Flytte backend
roslaunch drone_app drone_app.launch
- Open Flytte in the browser
You don't really need a web server for this. Just open the index.html file.
file:///<frontend folder>/index.html
Note that Flytte has a special mode for a simulated environment. In this mode the virtual camera in the simulator is used instead of the real one on the client. To start Flytte in simulation mode, simply add ?simulation after the URL.
file:///<frontend folder>/index.html?simulation
