Conversation
ad5fe61 to
c23fa95
Compare
botmayank
left a comment
There was a problem hiding this comment.
Move stuff to quadplane/tailsitter or as localized to our files as possible.
ArduPlane/quadplane.cpp
Outdated
| AP_GROUPINFO("BCK_PIT_LIM", 38, QuadPlane, q_bck_pitch_lim, 10.0f), | ||
|
|
||
|
|
||
| AP_SUBGROUPINFO(tailsitter.rotary_encoder, "RENC_", 39, QuadPlane, AP_RotaryEncoder), |
There was a problem hiding this comment.
This had to be added here, there was no way to do this from tailsitter.cpp
233d783 to
91b3a17
Compare
ec02c0b to
477f32b
Compare
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
* Freeze climb rate during RTL phases * Expose time to freeze crt before land descent as param * Add current timestamp to logging * Disable vh power if negative * Add desphi logging * Remove unused fixed wing attitude logs * Fix unit in docstring for param
* Freeze climb rate during RTL phases * Expose time to freeze crt before land descent as param * Add current timestamp to logging * Disable vh power if negative * Add desphi logging * Remove unused fixed wing attitude logs * Fix unit in docstring for param
d94fde4 to
6755bad
Compare
|
Merged conflicts resolved. Conflicts were in version.h and default params. Added default params from ardupilot-develop. |
0d5c0bd to
4f25c4a
Compare
* Update last_pos2_ms time for non-rtl modes to freeze climb rate * Move set climb rate 0 for pos2 height control out of tailsitter check
…EK3 to DCM (#25) * Add control surface checks lua script * Update parachute lua script log * Add door auto control script * Update version.h * Add wvane lo threshold to pix6c defaults param file * Add all airbound params to defaults.parm with q_tailsit_wv ones as readonly * Reduce default param list basis recent flights * Update version.h * Change EK3 airspeed estimate source from EK3 to DCM Update version.h --------- Co-authored-by: Mayank Joneja <mayankj@airbound.co>
* Modify Pixhawk6C-bdshot default parameter list - Update version.h to rc4 - Update default params in lua scripts * Handle gimbal lock singularity specifically for pitch in ahrs view * Update version to rc5 * Add simple ahrs pitch based check to correct att pitch beyond 90 * Add rot matrix based check for nose down belly up/down * Swap pitch corrections in ahrs view --------- Co-authored-by: akshar-airbound <aksharp@airbound.co>
* Modify Pixhawk6C-bdshot default parameter list - Update version.h to rc4 - Update default params in lua scripts * Handle gimbal lock singularity specifically for pitch in ahrs view * Update version to rc5 * Add simple ahrs pitch based check to correct att pitch beyond 90 * Add rot matrix based check for nose down belly up/down * Swap pitch corrections in ahrs view * Add logging for ahrs view compensation * Fix logging of pitch before and after compensation * Add logging for att target axis angle * Add logging of att body and error quat as axis angle * Add flags for belly up/down and nose down in logs * Update version to rc6 * Change version to 4.5.7.3 rc1 * Change mode check for landing phase for doors script * Check valid landing mission commands * Add check for vtol land descent from quadplane * Force doors open under takeoff alt_trig_m and don't check for transitions during takeoff * Add a landing latch flag to only trigger doors basis modes * Initialize servo pwm open close based on specific defaults * Update version to 4.5.7.2 hf1 * Update version to v4.5.7.2 - hf1 * Fix vtol flight check logic basis latch * Add global override param for doors auto logic * Fix num params for door script * Fix docstring for ATPC logging --------- Co-authored-by: akshar-airbound <aksharp@airbound.co>
4f25c4a to
6a80821
Compare
botmayank
left a comment
There was a problem hiding this comment.
Address comments, if changes are too tough to manage here, close this and open a new PR based on 4.5.7.2 hf1
| const float roll_out = stabilize_roll_get_roll_out(); | ||
| SRV_Channels::set_output_scaled(SRV_Channel::k_aileron, roll_out); | ||
|
|
||
| #if HAL_LOGGING_ENABLED |
| logger.Write_PID(LOG_PIDE_MSG, quadplane.pos_control->get_vel_xy_pid().get_pid_info_y()); | ||
| } | ||
|
|
||
| // Write tailsitter specific log at same rate as PIDs |
| void Plane::init_ardupilot() | ||
| { | ||
|
|
||
| */ | ||
| void AP_Param::load_param_defaults(const volatile char *ptr, int32_t length, bool last_pass) | ||
| { | ||
| const volatile char *original_ptr = ptr; // Save original pointer for offset calculations |
|
|
||
| #include <AP_HAL/AP_HAL_Boards.h> | ||
|
|
||
| #ifndef AP_ROTARYENCODER_ENABLED |
There was a problem hiding this comment.
@anant3110 check this, feels like a roundabout way of forcing always enable
There was a problem hiding this comment.
@anant3110 fix this, submodules shouldn't be touched
Add rotary encoder with quadrature architecture to measure angles