123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #pragma once
- #include "SIM_Aircraft.h"
- #include "SIM_Motor.h"
- #include "SIM_Frame.h"
- namespace SITL {
- class MultiCopter : public Aircraft {
- public:
- MultiCopter(const char *frame_str);
-
- void update(const struct sitl_input &input) override;
-
- static Aircraft *create(const char *frame_str) {
- return new MultiCopter(frame_str);
- }
- protected:
-
- void calculate_forces(const struct sitl_input &input, Vector3f &rot_accel, Vector3f &body_accel);
- Frame *frame;
- };
- }
|