Thank you for the great instructions! I was stuck because I missed your step 5 “Load the default fixture”.
My startup has an issue with the serial port, do you know why this happens?
process[expand_diagnostics-11]: started with pid 
[ERROR] [WallTime: 1487019278.700384] Error opening serial: could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'
I used the USB cable to connect my Raspberry Pi 3 model B to an “OSOYOO MEGA2560 R3 Arduino board”. Have I missed a connection for the serial port?
I also tried the revised instructions you had in a comment:
rosrun openag_brain load_fixture default
rosrun openag_brain load_fixture personal_food_computer_v2
rosrun openag_brain flash
This still gives me a serial port error:
Looking for upload port/disk...
Warning! Please install `99-platformio-udev.rules` and check that your board's PID and VID are listed in the rules.
scons: *** [upload] could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'
========================= [ ERROR ] Took 29.18 seconds =========================
Error: Compilation failed
raspberrypi ~ > ls -als /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 Feb 10 13:04 /dev/ttyACM0
Update: I found my problem:
I am using a new user I created on the raspberry pi (not the default ‘pi’ user) and I was having permission problems flashing the arduino board. I ran this command to give my user the same groups as the ‘pi’ user and now everything works. Thank you wsnook.
sudo usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi <your user name>