CSc 2010 General Forum

This is a general forum topic where you can post anything related to CSc2010. To use the forums you need to register at the site. Click on "create new account" on the right sidebar and follow the instructions. 

Once you have registered and logged in you will be able to post in the forums (click on add new comment). You can also edit or delete your own comments and reply to other comments. 

How do I find which port number,I use to initialize myro in Linux ?

By agottlieb1

Hi,

The port differs with the operating system where you are using myro. Moreover, the port number need not be the same for different systems even when they have the same operating system. However, the port numbers look like the following:

Mac OS X

init("/dev/tty.scribbler") 

Note: scribbler is the name you set for your robot  

---------------------------

Linux

/dev/rfcomm0

 

------------------------------

Windows

Com3

 

Note: You can check your port on Windows by looking at properties->services of your robot (bluetooth device with name that starts with IPRE).

-----------------------------

By Dinesh

I can't seem to find the right place to save this file so that I can import it. I don't have a 'Myro Folder' with the 'Start Python' icon.

By jgordon

The easiest way is to create a new module (.py file) through IDLE. Once you have created it (File -> New and then File->save) you can (File->Open) open the file and run it from the run menu.

The other way is to do it through command prompt. In that case you first need to go to the directory where you stored this file and then enter "python" command followed by the commands to import your py file.

By Dinesh