us.ihmc.pubsub.tools.PublishSubscribeTools Maven / Gradle / Ivy
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