CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AC_AttitudeControl/AC_AttitudeControl_TS.h
Views: 1798
1
#pragma once
2
3
/// @file AC_AttitudeControl_TVBS.h
4
/// @brief ArduCopter attitude control library
5
6
#include "AC_AttitudeControl_Multi.h"
7
8
class AC_AttitudeControl_TS : public AC_AttitudeControl_Multi
9
{
10
public:
11
using AC_AttitudeControl_Multi::AC_AttitudeControl_Multi;
12
13
// empty destructor to suppress compiler warning
14
virtual ~AC_AttitudeControl_TS() {}
15
16
// Ensure attitude controllers have zero errors to relax rate controller output
17
// Relax only the roll and yaw rate controllers if exclude_pitch is true
18
virtual void relax_attitude_controllers(bool exclude_pitch) override;
19
virtual void input_euler_rate_yaw_euler_angle_pitch_bf_roll(bool plane_controls, float body_roll_cd, float euler_pitch_cd, float euler_yaw_rate_cds) override;
20
};
21
22