Distance traveled

Description

Collect total distance traveled in the robot since it is powered.

Parameters

ParameterDescriptionTypeDefault
global_frameGlobal framestr"map"
robot_base_frameRobot base framestr"base_link"
transform_timeoutTF Timeout to use for transformationfloat0.1

Schema

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "Distance traveled",
    "description": "Total distance traveled in meters by the robot",
    "properties": {
        "distance_traveled": {
            "description": "Total distance traveled in meters",
            "type": "number"
        }
    },
    "type": "object"
}

Measurement configuration

...
distance_traveled:
  plugin: "dc_measurements/DistanceTraveled"
  topic_output: "/dc/measurement/distance_traveled"
  tags: ["flb_stdout"]
  global_frame: "map"
  robot_base_frame: "base_link"
  transform_timeout: 0.1