-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Rebased Ackerman vehicle controllers #7175
Conversation
I think this PR has gotten away with it so far, but one thing I'll need to look at before it's mergable is the vehicle type reported by vehicle_status (commander) and any module checking it. |
Yes, agreed. While coding I was thinking that there could be a new vehicle status, which could be wheeled, ackerman or something else but I thought that would result in refactoring other apps. |
bool task_running() { return _task_running; } | ||
|
||
private: | ||
orb_advert_t _mavlink_log_pub{nullptr}; |
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.
@dagar this is unused, can we remove it? I also have a commit ready to fix the coding style, this should fix the checks issues once and for all
To help on passing on travis: https://travis-ci.org/PX4/Firmware/jobs/229043344#L414 (run circleci: |
Thanks @TSC21, this should do it. |
Just picking up what I said in the other PR: |
Ops, I guess this last message got lost in the final rush of my thesis. Sorry about that. I am planning on doing the guide as soon as possible, I'll keep you posted. |
I'm still very interested in this. As soon as v1.6.0 is released let's do a final pass to get this in a mergeable state and get it in. |
As per the message above, I was finally able to create the Devguide page for this. @TSC21 let me know what you think! |
@dagar Can you have a pass? It looked good for me. |
@marcozorzi thanks for the add for the Devguide! This is ok to me as is also. We can work forward on developing the modes and control to make them more independent from the fw logic. |
@marcozorzi after this is meged you can update PX4/PX4-Devguide#169 so it points to the main repo instead of your repo. |
I'll go through this again tomorrow, but it should be good to merge. |
Merging! |
@marcozorzi and @dagar maybe we can schedule a call on how we can structure this to be more independent of fw code and also improve "flight" modes? |
Awesome!! I'm up for a call, thanks for the great help! |
I'm up for it if you have specific ideas to discuss. I view this as just the start. As for the modes the first step is generalizing the FW, MC, VTOL vehicle_status flags and then in the state machine we can block modes that don't make sense for cars (ie altitude, takeoff, landing). I'm personally interested in expanding the manual modes which we could probably get away with calling 'acro', 'stabilized', etc. Speaking for my own terrible driving I think having some kind of crude traction control or even throttle slew rate would be helpful. I suppose manual input (stick or wheel?) would simply be a yaw rate command and possibly lock on to the current heading if input is neutral? |
Sounds good to me! |
This is a rebased and squashed version of #7139