How to use configuration files for identical robots?
I have a few configuration files containing calibrations, configurations, camera_infos for a set of identical robots.
Currently, the launch files will read in the computer's hostname as an environment variable so it knows to look in code repo/{$HOSTNAME}/config for that robot's parameters.
This works well enough for the runtime system, but then I'm not sure what's the best way to use those configurations when playing back bags recorded on those robots. Should I change the environment variable to be something like $ROBOT_HOSTNAME so that the system doesn't sometimes set it? This would allow the person to change the variable on their development machine before playing a bag from a specific robot. Is there something better I could do?
This question is related to my other question about recording configuration, but this one also has the runtime launch component.