Add most recent params for FT24
This commit is contained in:
		@ -10,17 +10,15 @@ extern "C" {
 | 
			
		||||
 | 
			
		||||
#include "util.h"
 | 
			
		||||
 | 
			
		||||
CountedEnum(ParamType, size_t, PF_BBAL, PF_SLIPREF, PF_MUMAX, PF_ASRP, PF_ASRON,
 | 
			
		||||
            PF_ASRI, PF_PLIM);
 | 
			
		||||
CountedEnum(ParamType, size_t, PF_PLIM, PF_TLIM, PF_SLIM, PF_TVEC, PF_PG, PF_REKU);
 | 
			
		||||
 | 
			
		||||
typedef struct {
 | 
			
		||||
  float bbal;
 | 
			
		||||
  float slipref;
 | 
			
		||||
  float mumax;
 | 
			
		||||
  unsigned asrp;
 | 
			
		||||
  unsigned asri;
 | 
			
		||||
  unsigned asron;
 | 
			
		||||
  unsigned plim;
 | 
			
		||||
  unsigned plim; //< Power limit
 | 
			
		||||
  unsigned tlim; //< Torque limit
 | 
			
		||||
  unsigned slim; //< Speed limit
 | 
			
		||||
  unsigned tvec; //< Torque vectoring
 | 
			
		||||
  unsigned pg;   //< Power ground
 | 
			
		||||
  unsigned reku; //< Rekuperation
 | 
			
		||||
} Params;
 | 
			
		||||
 | 
			
		||||
extern Params params;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user