MCU
Loading...
Searching...
No Matches
SlipLaunchController.h
Go to the documentation of this file.
1#ifndef __SLIPLAUNCHCONTROLLER_H__
2#define __SLIPLAUNCHCONTROLLER_H__
4
6{
8 const float DEFAULT_SLIP_RATIO = 0.2f;
9};
11{
12private:
14
15public:
24 TorqueControllerSlipLaunch(float slip_ratio, int16_t initial_speed_target)
25 : BaseLaunchController(initial_speed_target),
26 slip_ratio_(slip_ratio) {}
31 void calc_launch_algo(const VectornavData_s &vn_data) override;
32};
33#endif // __SLIPLAUNCHCONTROLLER_H__
void calc_launch_algo(const VectornavData_s &vn_data) override
Increases speed target during launch linearly according to slip ratio to keep the cars wheels spinnin...
TorqueControllerSlipLaunch()
default constructor for slip launch controller: DEFAULT_SLIP_RATIO = 0.2, DEFAULT_LAUNCH_SPEED_TARGET...
TorqueControllerSlipLaunch(float slip_ratio, int16_t initial_speed_target)
const int16_t DEFAULT_LAUNCH_SPEED_TARGET