All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.ihmc.pubsub.tools.PublishSubscribeTools Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
package us.ihmc.pubsub.tools;

public class PublishSubscribeTools
{
   public static int systemDomain()
   {
      String ros_domain_id = System.getenv("ROS_DOMAIN_ID");

      if (ros_domain_id != null)
      {
         try
         {
            return Integer.valueOf(ros_domain_id);
         }
         catch (NumberFormatException e)
         {
            // return default below
         }
      }

      return 215;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy