I appreciate this is an old topic and I try not to resurrect threads without good reason. However, I was following these instructions and found that they didn’t quite work for me so I needed some extra steps to get it working.
Background: I was looking at getting this running on Ubuntu 16.04.
I followed the instructions on the blog but came to a problem at this line:
I got an error about being unable to open the pid file.
This happens because flotilla was trying to create a pid file in /var/run but would need root permissions to do so.
So I could either run as root (not ideal) or provide a fix for a normal user. I created a directory in /var/run and gave that global write permissions. I could now run flotilla with the argument:
./Debug/flotilla --pid-file /var/run/flotilla/flotilla.pid
Bizarrely, although that didn’t give me any error, it didn’t actually seem as though flotilla was running (checking with ‘ps aux | grep flotilla’ confirmed as much).
Next up, I ran the command with the no daemon option:
./Debug/flotilla --pid-file /var/run/flotilla/flotilla.pid -d
and that showed the file running.
I got some errors about not being able to access /dev/ttyACM0 so I added my user to the dialout group for good measure.
All seems to be working now.