LibCarla/source/carla/trafficmanager/TrafficManager.h
void SetGlobalPercentageSpeedDifference(float const percentage){
    TrafficManagerBase* tm_ptr = GetTM(_port);
    if(tm_ptr != nullptr){
      tm_ptr->SetGlobalPercentageSpeedDifference(percentage);
    }
  }
/// Set a global % decrease in velocity with respect to the speed limit.
/// If less than 0, it's a % increase.
Set a global % decrease in velocity with respect to the speed limit.
If less than 0, it's a % increase.
Set a global % decrease in velocity with respect to the speed limit . If less than 0 it ' s a % increase .
void SetGlobalPercentageSpeedDifference(float const percentage){
    TrafficManagerBase* tm_ptr = GetTM(_port);
    if(tm_ptr != nullptr){
      tm_ptr->SetGlobalPercentageSpeedDifference(percentage);
    }
  }
void SetGlobalPercentageSpeedDifference ( float const percentage ) { TrafficManagerBase * tm_ptr = GetTM ( _port ) ; if ( tm_ptr != nullptr ) { tm_ptr -> SetGlobalPercentageSpeedDifference ( percentage ) ; } }
Set a global % decrease in velocity with respect to the speed limit.
Set a global % decrease in velocity with respect to the speed limit .