Tablet Interface for SR2015

12 views
Skip to first unread message

Tom Leese

unread,
Oct 12, 2014, 11:39:51 AM10/12/14
to srobo...@googlegroups.com
Hi all,

A few people are aware that I spent the summer working on the user interface
to go on the tablets yet I'm sure there are plenty of people out of the loop.
So, as prompted by various people on IRC, I am writing this to make sure
everyone is up to date.

Development of the tablet interface has occurred on GitHub [0] and I encourage
anyone interested to go and have a look: it should be fairly straightforward
to get it running on your machine. I am accepting any issues and pull requests
through GitHub but bare in mind that this will be assimilated into Gerrit and
Trac at some point.

The tablet system comes in two parts:

The web app, served from the robot, will be accessible via Chrome and allow
the competitors to: read logs, view the webcam and control any components on
the robot. Competitors will also be able to build their own custom 'pages',
and in the future we might ship the manual control interface pages in a
similar manner. Polymer [1] (and Web Components) is the UI framework I have
used to develop the app and it means that the whole thing is very modular. For
talking to the robot I have used WAMP [2] which is a simple RPC and Pub/Sub
protocol above WebSockets. The server part is not something I spent much time
working on, but there is an example server in the repository - the real server
is being written by people working on the new brain board. I believe the
interface is ready to ship at this point, but there are a few little niggles
here and there that need to be sorted.

The second part is a native Android app which sits on the tablet and performs
functions not suitable to the web app. Specifically, it provides an icon in the
launcher which opens the browser to the appropriate location and a service
which sets up the WiFi correctly. This is not quite ready to ship, but it will
be shortly.

In that repository there is also a script which performs a factory reset on a
tablet. I will be extending that soon to include installing Chrome, installing
the 'Student Robotics' app and configuring the WiFi settings.

One key thing left to do is to write up the documentation for the tablet to go
on the website. I think that could happen almost immediately since I don't see
any breaking changes being added before Kickstart.

Tom

[0]: https://github.com/tomleese/srobo-tablet-interface
[1]: https://www.polymer-project.org/
[2]: http://wamp.ws/

Peter Law

unread,
Oct 12, 2014, 6:38:59 PM10/12/14
to Student Robotics
Hi,

Tom wrote:
> A few people are aware that I spent the summer working on the user interface
> to go on the tablets yet I'm sure there are plenty of people out of the loop.

I've had a bit of a play with this (just using the dummy backend
provided), and it seems to work pretty well. Clearly the real test
will be connecting it up with the proper kit.

Having been also looking at the micro games tonight, one question
arises: can the tablet interface be used to provide inputs _while_ the
user code is running?

If it can, this would be most useful both during the Kickstart and
also during the teams' own later code development.

Thanks,
Peter

Andrew Cottrell

unread,
Oct 12, 2014, 6:49:04 PM10/12/14
to srobo...@googlegroups.com
Hi Peter

Correct me if I'm wrong, but Tom said "and control any components on the robot" which should mean this is possible?

It seems like a key feature that's required, say for the motor control interface.

But we do need to make sure that we can somehow disable it - and or make sure no problems occur during matches to make sure no remote controls

Cheers,
Andy


--
You received this message because you are subscribed to the Google Groups "Student Robotics Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to srobo-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Andrew Cottrell

Murray Colpman

unread,
Oct 12, 2014, 6:50:21 PM10/12/14
to srobo...@googlegroups.com
On 12/10/14 23:49, Andrew Cottrell wrote:

But we do need to make sure that we can somehow disable it - and or make sure no problems occur during matches to make sure no remote controls
Robots will be sent into the arena without their wifi dongles, as I understand it. They will have a USB stick to change zone. Someone correct me if this has changed.

Murray.

Rob Spanton

unread,
Oct 12, 2014, 6:54:42 PM10/12/14
to srobo...@googlegroups.com
On Sun, 2014-10-12 at 23:50 +0100, Murray Colpman wrote:
> Robots will be sent into the arena without their wifi dongles, as I
> understand it. They will have a USB stick to change zone. Someone
> correct me if this has changed.

The tablet interface will indeed not be available in proper competition
mode.

R
signature.asc
Reply all
Reply to author
Forward
0 new messages