mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 10:33:35 +08:00
Add airspeed sensor to sensor_simulator
This commit is contained in:
@@ -53,13 +53,17 @@ public:
|
||||
void setData(const gps_message& gps);
|
||||
void stepHeightByMeters(float hgt_change);
|
||||
void stepHorizontalPositionByMeters(Vector2f hpos_change);
|
||||
void setAltitude(int32_t alt);
|
||||
void setLatitude(int32_t lat);
|
||||
void setLongitude(int32_t lon);
|
||||
void setVelocity(const Vector3f& vel);
|
||||
|
||||
gps_message getDefaultGpsData();
|
||||
|
||||
private:
|
||||
gps_message _gps_data;
|
||||
|
||||
void send(uint32_t time) override;
|
||||
void send(uint64_t time) override;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user