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

Provide cross-platform support for some core components #109

Merged
merged 3 commits into from
Sep 25, 2023

Conversation

finger563
Copy link
Contributor

@finger563 finger563 commented Sep 25, 2023

Description

  • Updated FTP, RTSP, Socket, Task, and Timer components to support cross platform compatibility
  • added lib folder for building pc lib (c++) and python binding using pybind11
  • added pc folder for holding some simple c++ tests that can be built and run on MacOS / Linux
  • added python folder for holding some simple python tests that use the pybind11 binding and test task/timer/udp
  • Added pybind11 submodule for buliding python bindings
  • Updated task example to show use of SimpleConfig (no m/cv)
  • Update task API to allow SimpleConfig via make_unique helper as well.

Motivation and Context

Building tools and debugging benefits from being able to use the core library components (scheduling, communications, logging, and serialization for example) on other platforms such as PC (via C++ and python) and iOS / Android.

How has this been tested?

Building the library and running the new c++ tests on MacOS and running the python tests with Python 3.11.

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

CleanShot 2023-09-25 at 13 59 29
CleanShot 2023-09-25 at 13 59 02
Python UDP client/server interaction (server on top, client on bottom):
CleanShot 2023-09-25 at 13 58 40

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Hardware (schematic, board, system design) change
  • Software change

Checklist:

  • My change requires a change to the documentation.
  • I have added / updated the documentation related to this change via either README or WIKI

Software

  • I have added tests to cover my changes.
  • I have updated the .github/workflows/build.yml file to add my new test to the automated cloud build github action.
  • All new and existing tests passed.
  • My code follows the code style of this project.

* Updated FTP, RTSP, Socket, Task, and Timer components to support cross platform compatibility
* added lib folder for building pc lib (c++) and python binding using pybind11
* added pc folder for holding some simple c++ tests that can be built and run on MacOS / Linux
* added python folder for holding some simple python tests that use the pybind11 binding and test task/timer/udp
* Added pybind11 submodule for buliding python bindings
* Updated example to show use of SimpleConfig (no m/cv)
* Update task API to allow SimpleConfig via make_unique helper as well.
@finger563 finger563 merged commit 2882ccc into main Sep 25, 2023
39 checks passed
@finger563 finger563 deleted the feature/xplat branch September 25, 2023 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant