-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Sensors #273
Comments
This was referenced Nov 5, 2022
Merged
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To aid in exporting different flight information, such as pressure at a specific point along the fuselage during flight or an acceleration as if measured by an accelerometer at a particular orientation mounted at a particular location in the rocket, this issue proposes the implementation of a
Sensor
abstract class, along if modifications to theRocket
andFlight
class to interface with it.Proposed Usage Example
Requirements
Support for the following types of sensors:
Support for the following methods/properties:
Sensor.current_value
: to be used during flight by controllersSensor.export_data
: to be used after flightEach sensor should be able to emulate:
Proposed Architecture
Create a submodule
rocketpy.sensors
. The submodule should have at least the following classes:Proposed Milestone
This feature should be implemented in a major release with a better support for continuous and discrete controllers, along with a refactoring of the
Flight
class.Therefore, it can be released with v2.0.0.
Context
This idea was first proposed by @Lucas-KB. It was a great idea and we are excited to implement it!
The text was updated successfully, but these errors were encountered: