FlytOS Linux Image is based on the latest stable release of Debian ‘stretch’. This image comes pre-installed with ROS-Kinetic and FlytOS.
Note
Due to the large number of steps involved in installing dependencies for FlytOS on Intel Edison, the only recommended method to use FlytOS on Intel Edison is using the FlytOS Linux Image.
This section will help you in flashing FlytOS Linux Image on your Intel Edison Board.
This step requires you to have a registered FlytBase account. In case you don’t have an account, create a FlytBase Account before you proceed.
Image download
Login to your FlytBase Account.
Download the Intel Edison FlytOS Linux Image from your Downloads page.
Download size of the image is about 700 MBs.
Check MD5 Hash to verify the integrity of downloaded file. Since it is a large file, the command may take a few minutes to complete:
Linux- launch a terminal and execute the following command
$ md5sum <path-to-downloaded-image>/flyt*.zip
Windows- launch a command window and execute the following command
$ CertUtil -hashfile <path-to-downloaded-image>/flyt*.zip MD5
Mac OS- launch a terminal and execute the following command
$ md5 <path-to-downloaded-image>/flyt*.zip
Compare the MD5 Hash generated to MD5 Hash mentioned in the FlytOS Linux Image download page.
Image flash
Note
This step is exactly similar to the standard method of flashing Intel Edison board. The following guide is ONLY for Linux users. Windows users could follow this and MacOS users could use this guide.
sudo ./flashall.sh
. If you receive an dfu-util: command not found
error, you can install dfu-util by running sudo apt-get install dfu-util
.User Credentials
All FlytOS Linux Image versions have the same Login user credentials:
Note
Intel Edison will boot up with its wifi configured as Access Point.
After flashing FlytOS Linux Image in your Intel Edison, WiFi access point is created on the device on system startup with following credentials:
ssid: EDISON-XX-XX (XX-XX will be replaced by string unique to your device)
Password: flytos12#
Connect to the access point on another computer. Open the following link in your browser to view FlytConsole: http://192.168.42.1/flytconsole.
By default Edison will be configured in Hotspot or AP mode. Follow these steps to get internet access or to configure it in client mode.
Disable hostapd service from running on next reboot.
$ sudo systemctl disable hostapd
Open up /etc/network/interfaces file. Default content of the file would be:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
#source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
#auto usb0
iface usb0 inet static
address 192.168.2.15
netmask 255.255.255.0
#auto wlan0
#iface wlan0 inet dhcp
# For WPA
#wpa-ssid Emutex
#wpa-psk passphrase
# For WEP
#wireless-essid Emutex
#wireless-mode Managed
#wireless-key s:password
dns-nameservers 8.8.8.8 8.8.4.4
# And the following 4 lines are for when using hostapd...
iface wlan0 inet static
address 192.168.42.1
netmask 255.255.255.0
Comment out all the lines under section # And the following 4 lines are for
when using hostapd...
and uncomment the following four lines:
auto wlan0
iface wlan0 inet dhcp
# For WPA
wpa-ssid Emutex
wpa-psk passphrase
Replace 'Emutex' and 'passphrase' according to the router you want edison to connect to.
Reboot the Edison for the changes to take effect.
Note
This step requires you to have a registered FlytBase Account. In case you don’t have an account, create a FlytBase Account before you proceed.
You have to activate installed FlytOS, without which critical APIs would not function.
http://ip-address-of-device/flytconsole
. In FlytConsole click on Activate Now tag under License tab at bottom right corner. A pop-up will appear which will direct you to the device registration page. If you are not logged in, enter your FlytBase Account credentials to log in.FlytOS needs telemetry data from autopilot(Pixhawk). Connect Pixhawk’s Telemetry port to Intel Edison.
GUIDED MODE
during RC calibration, to allow FlytOS to take control of drone from RC when vehicle is switched to GUIDED MODE
.OFFBOARD MODE
during RC calibration, to allow FlytOS to take control of drone from RC when vehicle is switched to OFFBOARD MODE
.