[CNIT 581-SDR / Spring 2019] Week 12 – Navigation Control from coordinate


In the previous blog, we had decided to send a JSON file format to adjust the motors of Hamster robot. However, we found that the structure in the mobile environment is entirely different from our original thought. When a user drew some lines in the display, the object that receives the user’s input takes two coordinates of starting and ending points with curved information.


When we took the coordinates of drawing, it has not only information on starting and ended points but also has ‘quadto’  information which shows us lines has a geometric shape. The picture below is about a JSON file containing coordinates of two paths.

Screen Shot 2019-04-06 at 12.41.57 AM.png
Picture updated: 04/06/2019 12:58AM


Therefore, we refer to a blog explaining robots’ turning method. To turn right or left accurate, we need to calculate the angular velocity of the left wheel and the angular velocity of the right wheel. We need to control the position of the robot in x coordinate and y coordinate as well as its orientation.

Same speed of both wheels: go straight
The speed of a wheel is smaller: the robot turns in that direction

Screen Shot 2019-04-05 at 3.04.43 PM


After reading it, we realized that the second assignment of SDR class is similar to our purpose so now we are examining how we will implement the manipulation of robot motors by these two references.



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: