Pre-setup

This page is under construction.

Preliminaries

Network

Remote monitoring and control the Firefly hexarotor UAV from a distance computer. In this tutorial, the desktop L5816-18 and the object firefly_blue are used.

IP address

The remote computer and the Firefly have to be connected to the same network (MRASL). You can check your IP address by typing ifconfig in a terminal.

Remote monitoring and control of the Firefly from a distance computer

  • Check the connectivity between the remote computer and the firefly_blue by running the following command in a remote computer terminal

  • To log into the Firefly's OBC we use the following commands

    This command will open a ssh channel to the firefly_blue (default password is asctec).

  • If you are using the desktop L5816-18, you can also running the permanent alias

  • We will use the firefly_blue as the ROS master, by setting the ROS_MASTER_URI and ROS_IP variables to the drone's IP. To change the variables we use the following commands in the remote computer terminal

    If you are using the desktop L5816-18, you can also running the permanent alias

ROS environment

Setting up the ROS environment: don't forget to run $ source devel/setup.bash in each terminal before continue with the following subsections. If you are using the the firefly_blue and the desktop L5816-18, you can also running the permanent alias $ gotien.

Firefly's OBC

  • If you want to implement your own controller, you should list and kill all default nodes on OBC by running the following commands

  • Running /fcu, /mv_26805107 nodes (Asctec Framework HL interface) and /pose_sensor node (MSF, private name)

Remote Computer

  • Running the /firefly_blue/vrpn_client node

    This launch file is a copy of the original asl_vicon.launch, using for the firefly_blue object and the Vicon server IP 192.168.1.200arrow-up-right

After running these launch files, the /pose_sensor node may show this message (OBC terminal): Pose measurement throttling is on, dropping messagesto be below 50.000000 Hz.

Last updated