An App Store for drones and robots?

Yes, exactly! The App Store for drones and robots is a marketplace of apps and behaviors powered by Snappy Ubuntu Core where people are encouraged to put their algorithms for sale. Furthermore, we’ve put special effort into providing ROS support which means that you can create applications out of your favorite robotics framework.

Start by checking the available apps.

What is Snappy Ubuntu Core?

Snappy Ubuntu Core is a new, transactionally updated Ubuntu for robots and drones that will allow them to stay secure automatically and be upgraded with additional capabilities from the app store. It is an open platform that aims to attract innovators and experts to collaborate and compete in robotics.

What is ROS?

The Robot Operative System (ROS) is an open-source, meta-operating system for your robot maintained by the Open Source Robotics Foundation (OSRF). It provides the services you would expect from an operating system, including hardware abstraction, low-level device control, implementation of commonly-used functionality, message-passing between processes, and package management. It also provides tools and libraries for obtaining, building, writing, and running code across multiple computers. A ROS system is comprised of a number of independent nodes, each of which communicates with the other nodes using a publish/subscribe messaging model. We’ve put together a set of tutorials on ROS here.

Create your first app

Install the snappy tools:

sudo add-apt-repository ppa:snappy-dev/beta
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install snappy-tools bzr

Create the minimum file structure for an app:

├── meta
│   ├── erle-small.png
│   ├── package.yaml
│   └── readme.md
└── src
    └── script.sh

Containing: meta/package.yaml

name: erle-date.erle
vendor: Erle Robotics <contact@erlerobot.com>
icon: meta/erle-small.png
version: 1.0
architecture: armhf
binaries:
 - name: src/script.sh
maintainer: Víctor Mayoral

meta/readme.md

Erle Robotics date snap example

This snap outputs the date.
(contact@erlerobotics.com)

src/script.sh

#!/bin/bash
echo "date: $(date)"

Build the app

From the top of the snap (the place where meta and scr are) do:

snappy build .

A  erle-date.erle_1.0_armhf.snap application should’ve been created.

Installing the app

sudo snappy install erle-date.erle_1.0_armhf.snap

A new erle-date/ directory should’ve appeared in /apps.

Running the application

Snappy creates scripts to launch the binaries specified in the package:

$ erle-date.erle.script.sh
Mon Feb 23 15:22:20 UTC 2015

Uploading the app to the store

To upload an app access myapps.developer.ubuntu.com and register:

apps

 

 

The select New application:

 

new

The first thing to do is upload the snap we just created. Drag it into the the first section and wait until it gets uploaded. Meanwhile, we can start completing other aspects of the applications such as the support releases, the department, or the url of the app (in case it does not exist yet we’d recommend creating one quickly with GitHub Pages):

new-app

 

Another important section is the License one. If you wish to release your application and code with an open source license use the drop down to select the one that fits you most. Otherwise you can select Proprietary license and set a price starting at 2,49 € (2,99 USD):

licenseLast but not least, you can decide to in which countries the app will be available for download (great to comply with legal regulations). Do not forget to upload your logo as well:

countries-icon

As soon as the app gets accepted it’ll appear in the store and be featured in our apps front-end.

WHAT ARE YOU WAITING FOR?