BrickPi Starter Kit Programming


#1

Hi,

Got my BrickPi Starter Kit and am working to set it up with LEGO EV3 motors and sensors.
I´ve been following instructions on "http://www.dexterindustries.com/BrickPi/getting-started/"
and believe I got successfully through to step 7 but can´t seem to get to run the test programs.
I´m new at this so I suppose it might just be something small I´m over looking or not aware of.

When trying to run the tests I get the following error message:
“python can´t open file ‘LEGO-Motor_Test.py’: [errno2] No such file or directory.”

  • Please see attached image.

I´m applying the PrickPi Starter Kit, so set-up, image, SD card etc. is all Dexter´s.
Only addition to Starter kit is a fixed power supply.

Can you help me find out what I am missing, please?


#2

Hey Jakob, it looks like you’re trying to run a python program that’s not there. Rather, you’ll need to change directories to where the Python Script is . . .

The script it looks like you’re trying to run is in ~/Desktop/BrickPi_Python/Sensor_Examples/

So . . . to get there, you’ll start out at home, which is where it looks like you are, and use the command “cd Desktop/BrickPi_Python/Sensor_Examples/” Then try running the python command you’re entering.


#3

Hi John,

Of curse. :o)
Thanks!

BR,
Jakob