Skip to content
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

过载判断错误 #14

Open
zcyyyyyyyyyyy opened this issue Sep 5, 2023 · 0 comments
Open

过载判断错误 #14

zcyyyyyyyyyyy opened this issue Sep 5, 2023 · 0 comments

Comments

@zcyyyyyyyyyyy
Copy link

extreme_acceleration = (
max(
[
abs(sim.get_property_value(JsbsimCatalog.accelerations_n_pilot_x_norm)),
abs(sim.get_property_value(JsbsimCatalog.accelerations_n_pilot_y_norm)),
abs(sim.get_property_value(JsbsimCatalog.accelerations_n_pilot_z_norm)),
]
) > 1e1
) # acceleration larger than 10G
应该是
extreme_acceleration = (
max(
[
abs(sim.get_property_value(JsbsimCatalog.accelerations_n_pilot_x_norm)),
abs(sim.get_property_value(JsbsimCatalog.accelerations_n_pilot_y_norm)),
abs(sim.get_property_value(JsbsimCatalog.accelerations_n_pilot_z_norm) + 1),
]
) > 1e1
) # acceleration larger than 10G

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant