-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
MC_Pos_Control: takeoff bug constrain hover_thrust_estimate #21380
MC_Pos_Control: takeoff bug constrain hover_thrust_estimate #21380
Conversation
@hendjoshsr71 Could you do |
Tailsitter SITL is falining again: https://github.com/PX4/PX4-Autopilot/actions/runs/4544468878/jobs/8011289156?pr=21380 However, the previous commit in the Log: https://logs.px4.io/plot_app?log=5f0c0ee0-6739-4302-b48b-ddb7dae3eb22 |
@junwoo091400 I restarted the failed test just to verify it wasn't a fluke |
bcf263a
to
3758021
Compare
Done! Though I had to fix up how the auto formatter "fixed" things. It looked pretty weird. |
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.
I'm not a big fan of merging 2 functions in one and split it internally using a boolean parameter. Especially when reading the function call, I think it would be nicer to have something like setHoverThrustAndUpdateIntegral()
than setHoverThrust(true)
.
Agree. I was trying to acheive what @dagar wanted in terms of only one path for these constraints. If either you or Daniel would like to push my repo your preference to achieve that goal feel free. That would probably be easier than me going back and forth.? |
This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: https://discuss.px4.io/t/px4-community-q-a-april-19-2023/31700/4 |
replaced by #21512 . Thanks @hendjoshsr71 for the fix. I rebased, made some minor changes and did another PR with it |
This is the version of PR that points to main instead of 1.13