Struct LockConfig

Struct Documentation

struct LockConfig

Configuration of a lock topic for the mux.

Public Members

::std::string name

The human-readable name of the config.

::std::string topic

The topic associated with the lock.

int priority = {0}

The priority for the lock. Usually is a positive number.

::ros::Duration timeout

If zero, the lock only locks/unlocks based on the locked parameter of the lock callback. If non-zero, it is the time after which the lock will get locked, unless a message comes to the lock topic with locked set to false.