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

[WIP]: PX4 platform layer #11518

Closed
wants to merge 5 commits into from
Closed

[WIP]: PX4 platform layer #11518

wants to merge 5 commits into from

Conversation

dagar
Copy link
Member

@dagar dagar commented Feb 21, 2019

Highlevel PX4 layers

  • PX4 Modules (src/modules)
    • uORB pub/sub and parameters
    • controllers, estimators, state machines, mavlink, etc
  • PX4 Drivers (src/drivers)
    • modules that access hardware
    • sensors, outputs, etc
    • platform agnostic drivers
  • PX4 Libraries (src/lib)
    • used by modules and drivers
    • have access to uORB, parameters, etc
    • non-px4 libraries also exist that aren't allowed to use anything in the px4 platform (px4_add_library vs add_library)
  • PX4 platform layer (src/platform)
    • uORB, parameters, hrt, work queue, task creation, px4 logging
    • defines everything in the PX4 platform layer, and implements all generic code. Depends on a significant amount of OS specific code (does it make sense for that to live under the top level os/)?
  • PX4 OS support layer (os/)
    • nuttx, posix (probably linux separately), qurt
    • contains non-px4 drivers
    • should not use anything in the PX4 platform layer (parameters, logging, hrt, etc).

@dagar dagar changed the title [WIP: PX4 platform layer [WIP]: PX4 platform layer Feb 21, 2019
@dagar dagar force-pushed the px4_platform_layer branch from 8995901 to e1573da Compare February 21, 2019 20:40
@stale
Copy link

stale bot commented Oct 23, 2019

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Oct 23, 2019
@dagar
Copy link
Member Author

dagar commented Oct 28, 2019

This is now obsolete with @bkueng's refactoring work, but we may want to firmly define some of these layers later.

@dagar dagar closed this Oct 28, 2019
@LorenzMeier LorenzMeier deleted the px4_platform_layer branch January 18, 2021 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants