Go to the source code of this file.
|
| bool | hasIncreasedAbsVelocity (const geometry_msgs::Twist &old_twist, const geometry_msgs::Twist &new_twist) |
| | hasIncreasedAbsVelocity Check if the absolute velocity has increased in any of the components: linear (abs(x)) or angular (abs(yaw)) More...
|
| |
◆ hasIncreasedAbsVelocity()
| bool hasIncreasedAbsVelocity |
( |
const geometry_msgs::Twist & |
old_twist, |
|
|
const geometry_msgs::Twist & |
new_twist |
|
) |
| |
hasIncreasedAbsVelocity Check if the absolute velocity has increased in any of the components: linear (abs(x)) or angular (abs(yaw))
- Parameters
-
| old_twist | Old velocity |
| new_twist | New velocity |
- Returns
- true is any of the absolute velocity components has increased
Definition at line 36 of file twist_mux.cpp.