Showing posts with label zigbee. Show all posts
Showing posts with label zigbee. Show all posts

2012/11/10

Python Rover Controller Update #1

Program when opened, all the buttons are disabled until the port is set:

Port is set, buttons are active:

This will ask the rover for its variables:

Displaying them:



The test button requests an update for the map (Green is rovers current position):

 Moving the rover up, it only moves the number of spaces that are unoccupied:

Turning it around and trying to move 9 blocks which is all it could have moved any way (An error caused the travelled path to be drawn to the x axis by accident):


2012/10/28

Python Rover Controller

This first screen shot is of the program when it first opens:

Showing file menu (only has a quit button at the moment):

This is after pressing the blue link icon in the upper left (Under file menu, the window can be moved as well):

If the user presses OK without choosing a port (The baud and timeout have a default value):

Example of drop-down menus:

Dialog box for verification, currently closes the port settings window if no is selected:

If wrong port is selected and error window will show:

Here the wrong baud rate is selected (arduino set for 9600):

After clicking yes to save settings the program tries to ping the rover (In this case the wrong baud rate causes the response to be distorted and after 20 tries it will stop):

These are the correct settings (for my arduino/xbee setup):

The program prints the received data and acknowledges that the port is set: