Namespaces | Functions
twist_mux.cpp File Reference
#include <twist_mux/twist_mux.h>
#include <twist_mux/topic_handle.h>
#include <twist_mux/twist_mux_diagnostics.h>
#include <twist_mux/twist_mux_diagnostics_status.h>
#include <twist_mux/utils.h>
#include <twist_mux/xmlrpc_helpers.h>
Include dependency graph for twist_mux.cpp:

Go to the source code of this file.

Namespaces

 twist_mux
 

Functions

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...
 

Function Documentation

◆ 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_twistOld velocity
new_twistNew velocity
Returns
true is any of the absolute velocity components has increased

Definition at line 36 of file twist_mux.cpp.



twist_mux
Author(s): Enrique Fernandez , Siegfried-A. Gevatter Pujals
autogenerated on Wed Oct 26 2022 02:14:17