Example #1
0
def max_random():
    """
    Returns the maximum value for the rand funtion
    """
    return int(
        tools.read_parameter("config.cfg", "MobileBaseParameters",
                             "max_random"))
Example #2
0
def max_fraction():
    """
    Returns the maximum fraction speed for a wheel
    """
    return float(
        tools.read_parameter("config.cfg", "MobileBaseParameters",
                             "max_fraction"))
Example #3
0
def wait_time_bumpers():
    """
    Returns the time before checking bumpers again [ms]
    """
    return int(
        tools.read_parameter("config.cfg", "MobileBaseParameters",
                             "wait_time_bumpers"))
Example #4
0
def log_period():
    """
    Returns the log period [s]
    """
    return float(
        tools.read_parameter("config.cfg", "MobileBaseParameters",
                             "log_period"))
Example #5
0
def wait_time():
    """
    Returns a wait time [ms]
    """
    return int(
        tools.read_parameter("config.cfg", "MobileBaseParameters",
                             "wait_time"))