Difference between revisions of "Ric"
From DIDEAS Wiki
m (→tools setup) |
m (→mplab IDE config) |
||
Line 28: | Line 28: | ||
==mplab IDE config== | ==mplab IDE config== | ||
To load a PF project, the default settings of the MPLAB IDE need to be changed: | To load a PF project, the default settings of the MPLAB IDE need to be changed: | ||
+ | # open "MPLAB IDE" | ||
# Under Configure -> Settings select the "projects" tab | # Under Configure -> Settings select the "projects" tab | ||
# Uncheck the "use one-to-one project-workspace model" | # Uncheck the "use one-to-one project-workspace model" |
Revision as of 18:41, 9 March 2010
Make PFF adjustment smaller.
Wiki for RIC robot project
Contents
getting started
All software can be open via short cuts in a folder on the desktop.
program for tuning and data collection
- open cmd prompt to "support_scripts" and run "capture <filename>". capture.bat may need to be edited should the COM port # change.
- open matlab, change to c:\mit_ankle\support_scripts" and run "plot_float". Use port# 9999
- make sure the CPU is not loaded -else the serial port will drop data. (char 'S' output) in DOS window
- unlock robot with "F4"
- to start "PWM" hit ALT-F1
- to stop "PWM" hit ALT-F2
reference
- SVN server user=ric, pass=ric#### where # is Levi's office #
tools setup
- Install MPLAB IDE Microchip tools
- Install Microchip C30 C compiler V2.05 and then license
- Install C compiler V3.12 (use only this version)
- Install python 2.5.4 and support modules Python
- Install development support tools (SVN client, win merge, grep, editor, etc.) Dev support
- checkout source code and support scripts from SVN server
- Top level tools
mplab IDE config
To load a PF project, the default settings of the MPLAB IDE need to be changed:
- open "MPLAB IDE"
- Under Configure -> Settings select the "projects" tab
- Uncheck the "use one-to-one project-workspace model"
Some other suggested changes:
- From the "other" tab, select "automatically reload"
- From the "workspace" tab, select "no", "reload last workspace", and "always show full path"
python config
A file that describes the directory structure of the project needs to be placed in c:\
- Download "python_paths.py", edit, and copy to c:\
The python interpreter needs to be added to the system path:
- Ctrl click "My Computer" and then select "Properties"
- From the new object, select the "Advanced" tab
- Select "Environment Variables"
- To the "PATH" variable, append "c:\python25;"
- The path variable may exist under "user variable" or "system variables"
- Verify that python is in the system path by starting a DOS prompt and running python
make a wifi connection
From the support scripts folder run :
- wifi_fast.py -i 218 -F -f xx -V swifi.vlist