-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[flightplan] Navigation parameters belong in the airframe #1315
Conversation
…U I2C slaves - add new configuration option (IMU_INIT) to test_progs Makefile. Example use: <target name="test_baro_board" board="apogee_1.0"> <subsystem name="imu" type="apogee"/> <configure name="IMU_INIT" value="1"/> </target> - add overridable functions - test_baro_board_imu_{init,periodic_task,event_task} to the main test_baro_board program. - add a new C module with implementation that enables and manages IMU so that the baro board works as slave
…t_progs - the airframe allows verifying basic functionality of the IMU, actuators, communication ports
This is a good idea, I want to do this for a long time. But I think you can go further, with the default parameters in the navigation.h files and maybe have settings so you can change the value without reflashing. |
69c5c30
to
9ce0ef9
Compare
like this? |
- get rid of using the imu subsystem and global struct - call InsEvent in rotorcraft - add missing shared vectornav makefile - remove ahrs stuff from ins vectornav, not used anyway...
cleaned up version of INS/AHRS/IMU Vectornav VN-200 closes #1305
- dashboard is totally outdated... - keep radioframe as an example...
Implemented MILLIAMP_AT_IDLE_THROTTLE in current estimation
IMU testing + test airframe for apogee
[module] digital_cam_video
@@ -3,6 +3,12 @@ | |||
<flight_plan alt="152" ground_alt="147" lat0="43 33 50.83" lon0="1 28 52.61" max_dist_from_home="150" name="Rotorcraft Basic (Enac)" security_height="2"> | |||
<header> | |||
#include "autopilot.h" | |||
#ifndef TAKEOFF_CLIMB_SPEED |
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.
These are not used anymore and can be removed again...
Aparat from the now superflous defines in the flight plan (as already commented), it looks good to me... |
… file and should be tunable
… file and should be tunable backport of #1315
Simulation is not working for any of my aircraft. I tried adding the
Something is broke for me now across all my airframes. I noticed the problem when the aircraft started gaining altitude upon entering the |
So I've discovered that I can make the simulation behave correctly as long as I have |
@hooperfly sorry for the trouble, but with the defines above the default You can adjust and verify this descend rate value via the settings. It has flown many times already with this commit, so I'm lost to what the cause could be in your case. |
Can you first of all check while in simulation in settings that Then, when The only thing is: it's been like that for a while. |
Hi @dewagter, I think you are correct in that the problem has been here for a while. I hadn't seen it because I was always using By the way, I like the cleanup and consolidation of the NAV attributes, much appreciated. I'll keep thinking and testing to see if I can understand better the difference between the simulation and the live aircraft behavior. |
You can safely fly without -Christophe |
@dewagter I'm going to stick with the |
Navigation parameters are aircraft depending.
We end up with many flightplans that only differ 1 number.
If this approach is good I can change more airframes.
Other option is a set of variables that can also be set/stored in a rotorcraft_performance_parameters.h file.