Automatically detecting whether we are on Gazebo or on real robot?
Depending whether we are on Gazebo or on real robot, we might want to do things a bit differently in our Python scripts. For instance, we might want to load different configuration files, or we might want to call some Gazebo-related services as a term of comparison, or we might want to do manage the plots differently.
Is there a generic and reliable way in Python to automatically detect whether we are on Gazebo or on real robot?
@ostasse, I think you might know this one.