-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windsensor Model #909
base: main
Are you sure you want to change the base?
Windsensor Model #909
Conversation
- Wind Sensor added which outputs wind direction and wind speed - Since the wind sensor is mounted ontop of the aircraft it measures the combined affect of wind and the velocity of the aircraft. - PX4 received the measurements produced by the Sensor Model
- Windsensor bitmask in HIL_SENSOR message corrected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@henrykotze Thanks for the nice contribution!
We have amended the mavlink_hil_sensor message to include the wind sensor data, for allowing it to be sent to PX4, but here we have uncommented the section, until the the mavlink message defintition is updated. We are using it internally as such, but awaiting comments on how you would like to proceed in sending it to PX4.
Before I go through the PR, I don't see any PR related to the extension of the HIL messages in mavlink. Was this planned?
Yeah that is planned. I was just unsure whether PX4 will be happy with the way are sending it to the Autopilot, via the HIL_SENSOR. To clarify, so far we have only been using it in SITL, but we want to in HITL. Thus i dont know what is the impact of this change in HITL. I will make the PR for mavlink tomorrow if that is way we should proceed. |
Changes:
|
@henrykotze Any updates regarding the PR? |
Windsensor model is based on FT Technologies FT742, which is a ultrasonic windsensor which provides accurate wind speed and wind direction measurements. This sensor is used in inspections.
The windsensor plugin is based on the airspeed sensor plugin and includes noise and resolution of the FT sensor.
The sensor can be added to any airframe model, similarly to that of GPS and airspeed sensor:
We have amended the mavlink_hil_sensor message to include the wind sensor data, for allowing it to be sent to PX4, but here we have uncommented the section, until the the mavlink message defintition is updated. We are using it internally as such, but awaiting comments on how you would like to proceed in sending it to PX4.