If it is not there, it is created the first time you run pypilot_client -s x.x.x.x
If you want to create it manually, this is how it looks like:
I'd say no functional difference, but my intuition tells me one centralized config file is better than multiple hardcoded scripts. Of course you are free to document the location of the config file in your script in case you forget :-D
If you want to create it manually, this is how it looks like:
Code:
pi@openplotter:~ $ cat /home/pi/.pypilot/pypilot_client.conf
{"host":"10.10.10.3","port":23322}
I'd say no functional difference, but my intuition tells me one centralized config file is better than multiple hardcoded scripts. Of course you are free to document the location of the config file in your script in case you forget :-D