apollo::common  
More...
 | 
| class   | DigitalFilter | 
|   | The DigitalFilter class is used to pass signals with a frequency lower than a certain cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency.  More...
  | 
|   | 
| class   | KVDB | 
|   | Lightweight key-value database to store system-wide parameters. We prefer keys like "apollo:data:commit_id".  More...
  | 
|   | 
| class   | LatencyRecorder | 
|   | 
| class   | MeanFilter | 
|   | The MeanFilter class is used to smoothen a series of noisy numbers, such as sensor data or the output of a function that we wish to be smoother.  More...
  | 
|   | 
| class   | Status | 
|   | A general class to denote the return status of an API call. It can either be an OK status for success, or a failure status with error message and error code enum.  More...
  | 
|   | 
| class   | VehicleConfigHelper | 
|   | 
| class   | VehicleModel | 
|   | 
| class   | VehicleStateProvider | 
|   | The class of vehicle state. It includes basic information and computation about the state of the vehicle.  More...
  | 
|   | 
 | 
| template<class EigenType >  | 
| using  | EigenVector = std::vector< EigenType, Eigen::aligned_allocator< EigenType > > | 
|   | 
| template<typename T , class EigenType >  | 
| using  | EigenMap = std::map< T, EigenType, std::less< T >, Eigen::aligned_allocator< std::pair< const T, EigenType > >> | 
|   | 
| using  | EigenVector3dVec = EigenVector< Eigen::Vector3d > | 
|   | 
| using  | EigenAffine3dVec = EigenVector< Eigen::Affine3d > | 
|   | 
 | 
| void  | LpfCoefficients (const double ts, const double cutoff_freq, std::vector< double > *denominators, std::vector< double > *numerators) | 
|   | Get low-pass coefficients for digital filter.  More...
  | 
|   | 
| void  | LpFirstOrderCoefficients (const double ts, const double settling_time, const double dead_time, std::vector< double > *denominators, std::vector< double > *numerators) | 
|   | Get first order low-pass coefficients for ZOH digital filter.  More...
  | 
|   | 
| std::ostream &  | operator<< (std::ostream &os, const Status &s) | 
|   | 
apollo::common 
The apollo::common namespace contains the code of the common module. 
 
◆ EigenAffine3dVec
◆ EigenMap
template<typename T , class EigenType > 
      
        
          | using apollo::common::EigenMap = typedef std::map<T, EigenType, std::less<T>, Eigen::aligned_allocator<std::pair<const T, EigenType> >> | 
        
      
 
 
◆ EigenVector
template<class EigenType > 
      
 
 
◆ EigenVector3dVec
◆ LpfCoefficients()
      
        
          | void apollo::common::LpfCoefficients  | 
          ( | 
          const double  | 
          ts,  | 
        
        
           | 
           | 
          const double  | 
          cutoff_freq,  | 
        
        
           | 
           | 
          std::vector< double > *  | 
          denominators,  | 
        
        
           | 
           | 
          std::vector< double > *  | 
          numerators  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Get low-pass coefficients for digital filter. 
- Parameters
 - 
  
    | ts | Time interval between signals.  | 
    | cutoff_freq | Cutoff of frequency to filter high-frequency signals out.  | 
    | denominators | Denominator coefficients for digital filter.  | 
    | numerators | Numerator coefficients for digital filter.  | 
  
   
 
 
◆ LpFirstOrderCoefficients()
      
        
          | void apollo::common::LpFirstOrderCoefficients  | 
          ( | 
          const double  | 
          ts,  | 
        
        
           | 
           | 
          const double  | 
          settling_time,  | 
        
        
           | 
           | 
          const double  | 
          dead_time,  | 
        
        
           | 
           | 
          std::vector< double > *  | 
          denominators,  | 
        
        
           | 
           | 
          std::vector< double > *  | 
          numerators  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Get first order low-pass coefficients for ZOH digital filter. 
- Parameters
 - 
  
    | ts | sampling time.  | 
    | settling | time: time required for an output to reach and remain within a given error band  | 
    | dead | time: time delay  | 
    | denominators | Denominator coefficients for digital filter.  | 
    | numerators | Numerator coefficients for digital filter.  | 
  
   
 
 
◆ operator<<()
  
  
      
        
          | std::ostream& apollo::common::operator<<  | 
          ( | 
          std::ostream &  | 
          os,  | 
         
        
           | 
           | 
          const Status &  | 
          s  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   |