Basic Python Packages
These are things you need to have installed before running the software ,
- Python 2.4
- http://www.python.org/download/
- Be sure to get the 2.4 version. Download from RAS
- PyOpenGL
- Be sure to get the latest non-alpha version of PyOpenGL for Python 2.4
- http://pyopengl.sourceforge.net/ Download from RAS
- PySerial
- Packages you might not have if you are new to python,
PyOpenGL on Fedora Core 5 with Yum
- Find http://www.fedorafaq.org/#installsoftware and do their thing for adding more repos.
- Enable the atrpms repository.
- yum install PyOpenGL
I always used the yumex GUI to select it which is why I'm not including the exact commandlines.
Next I'm looking for pySerial because I like packages instead of tars. I don't have to update them manually in the future.
pySerial on FC 5 from source
Here's how to get pySerial working under FC5, not a very nice solution, since its not an RPM in a repository, but... Note: this should also work on any other linux distro, but look for a package first!
- Download the zip file from http://pyserial.sf.net
- unzip to any directory
- sudo python setup.py install
ICE
TroubleShooting?
- To test your installation, download the code base over Subversion (LearnSvn ) go to trunk/sim/revision_2/
- After running python backend.py you get a few Simple Errors
- You might get errors if numpy or pyserial is missing
- error in mapBuilder.map ---> just cp mapbuilder.map mapBuilder.map (this is a bug --> on trac )
- More complicated Road Blocks,
- "could not open on com port" , most likely you will not be hooked up to any real devices,
- When this happens in Linux the program hangs and does not timeout (this is a bug ---> need to report)
- Therefore, you need to change the config file to be simulated rather than real
- To understand more details go to Software_Design
- "could not open on com port" , most likely you will not be hooked up to any real devices,
Related Links
- LearnSvn - to learn how to download code and manage your local software
- SoftwareStatus - The most current development and progress
- Software_Design - To understand the structure and data flow of the software
