[CNIT 581-SDR / Spring 2019] Week 10 – Mobile Application


For the mobile side, we’ve built an application that users can draw some lines with the width information.

Screen Shot 2019-03-20 at 9.45.24 PM

The white square at the center of this application is the drawing area which can get users’ input. Some black lines will be drawn along with the input. The blue buttons on the bottom are for the thickness of lines so that the users can simply select the desired one. We added a reset button in the case of redrawing.


Screen Shot 2019-03-20 at 10.00.27 PM

The ‘Send’ button at the below is to send trajectory information to a physical robot. The data is about the relative coordinates with a starting point rather than the absolute coordinates. The drawing information would be saved by JSON type, as shown in the example below.

{'item_number' : 3, 
 'infos': {
   'starting_point' : [149.0,30.8], 
   'thickness' : 1
   'coordinates' : [[A,B], [C,D], [E,F], ...]
   'starting_point' : [167.0,20.3], 
   'thickness' : 2
   'coordinates' : [[A',B'], [C',D'], [E',F'], ...]
   'starting_point' : [195.0,16.2], 
   'thickness' : 3
   'coordinates' : [[A'',B''], [C'',D''], [E'',F''], ...]

Depending on the receiver point, data structure and each item can be changed.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your website with WordPress.com
Get started
%d bloggers like this: