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

Python message class generation #169

Open
wants to merge 52 commits into
base: master
Choose a base branch
from

Commits on Feb 20, 2023

  1. Added class for message fields

    Annoted PprzMessage method `fieldbintypes` to be static
    Mael Feurgard committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    1c936ae View commit details
    Browse the repository at this point in the history
  2. Adapted PprzMessage methods to underlying

    dictionnary-based implementation
    Mael Feurgard committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    57ecb97 View commit details
    Browse the repository at this point in the history
  3. Added uninstall and reinstall rules

    Mael Feurgard committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    1673536 View commit details
    Browse the repository at this point in the history
  4. Fixed the unistall command

    Mael Feurgard committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    ee0f047 View commit details
    Browse the repository at this point in the history
  5. Added access to PprzMessageField underlying object

    Added some typing
    spacewolfXfr committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    87d5437 View commit details
    Browse the repository at this point in the history
  6. Put conversion constants as classwide constants

    Added type conversion from C-string to Python-string
    spacewolfXfr committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    13af13b View commit details
    Browse the repository at this point in the history
  7. Added more typing

    spacewolfXfr committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    94d30d6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ac73fbb View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Added messages' and fields' description to generated files

    Adjusted output directory management
    spacewolfXfr committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    0005dd9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4c04d7 View commit details
    Browse the repository at this point in the history
  3. Added better type and Enum management in generic PprzMessageField

    Added access to the PprzMessageField structures from PprzMessage
    spacewolfXfr committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    df0be00 View commit details
    Browse the repository at this point in the history
  4. Added support for statically generated field classes

    Integrated into statically generated message classes
    spacewolfXfr committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    228de28 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Configuration menu
    Copy the full SHA
    93a9a39 View commit details
    Browse the repository at this point in the history
  2. Gather info about illegal characters in 'values' field enum

    (Illegal, that is cannot be directly used for Python variables)
    spacewolfXfr committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    5b12422 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Removed unused variable

    Mael Feurgard committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    6d44034 View commit details
    Browse the repository at this point in the history
  2. Enforce constants in child classes

    Added inspector program for testing
    Mael Feurgard committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    05b3d56 View commit details
    Browse the repository at this point in the history
  3. Added fields in parser to manage broadcast messages

    Adapted fix for illegal characters in variables
    Mael Feurgard committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    9ad7bdb View commit details
    Browse the repository at this point in the history
  4. Added post-install for Python generated messages

    Mael Feurgard committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    95c3cf1 View commit details
    Browse the repository at this point in the history
  5. Fixed subclasses __init__

    Adjusted file generation
    (one file per message class, regroups all PprzMessage_[message name])
    -> simplify generic 'from generated import *' for above layers
    spacewolfXfr committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    0ac425c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4e29c61 View commit details
    Browse the repository at this point in the history
  7. Adapted 'ivy' module to use statically defined messages if generated

    Fall back on pre-existing parser otherwise
    spacewolfXfr committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    fc9740c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3d521d7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f75fe5a View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Assert proper type when changing field value

    Mael Feurgard committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    9054cc4 View commit details
    Browse the repository at this point in the history
  2. Provide value instead of field instance

    Mael Feurgard committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    dcac23a View commit details
    Browse the repository at this point in the history
  3. Explicit call to Python

    (Avoid execution rights for .py scripts)
    Mael Feurgard committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    6ec8a83 View commit details
    Browse the repository at this point in the history
  4. Simplification using dictionnary structure

    Mael Feurgard committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    aea4bfa View commit details
    Browse the repository at this point in the history
  5. Added typing and parsing capabilities

    Mael Feurgard committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    ab3fffc View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Added install for all message classes

    Mael Feurgard committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    c90df87 View commit details
    Browse the repository at this point in the history
  2. Install to user site instead

    Mael Feurgard committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    7e2a508 View commit details
    Browse the repository at this point in the history
  3. Proper string management

    Mael Feurgard committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    8c4ad25 View commit details
    Browse the repository at this point in the history
  4. Added last resort check for messages.xml

     in current dir
    Mael Feurgard committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    968b5a3 View commit details
    Browse the repository at this point in the history
  5. Denote raw C-type for messages in generated

    message classes
    Mael Feurgard committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    730c324 View commit details
    Browse the repository at this point in the history
  6. Added name check (alphanumeric and '+-_')

    Mael Feurgard committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    b444878 View commit details
    Browse the repository at this point in the history
  7. Allow python interpreter selection

    Mael Feurgard committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    2705ed0 View commit details
    Browse the repository at this point in the history
  8. Typo fix (use concat instead of set notation)

    Mael Feurgard committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    4b06231 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Added building message directly from dict

    (And some typing hints)
    Mael FEURGARD committed May 12, 2023
    Configuration menu
    Copy the full SHA
    1577867 View commit details
    Browse the repository at this point in the history
  2. Pushed the GVF_PARAMETRIC messages

    Mael FEURGARD committed May 12, 2023
    Configuration menu
    Copy the full SHA
    4e40444 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Added GVF_PARAMETRIC related messages

    Mael FEURGARD committed May 17, 2023
    Configuration menu
    Copy the full SHA
    ec5182d View commit details
    Browse the repository at this point in the history
  2. Merge branch 'Python_message_class_generation' of https://github.com/…

    …spacewolfXfr/pprzlink into Python_message_class_generation
    Mael FEURGARD committed May 17, 2023
    Configuration menu
    Copy the full SHA
    2e65711 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Adjusted GVF messages for easier logging

    Mael FEURGARD committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    870cdef View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Messages for internal K gains GVF

    Mael FEURGARD committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    a22a166 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. GVF messaging update

    Mael FEURGARD committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    b46b8e7 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'refs/remotes/origin/Python_message_clas…

    …s_generation' into Python_message_class_generation
    Mael FEURGARD committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    f7b5dc9 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Merge pull request #1 from paparazzi/master

    Update messages
    spacewolfXfr authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    3a756f7 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Fixed missing import in ivy.py

    Mael FEURGARD committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    d187b25 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Fixed missing import

    Mael FEURGARD committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    0d14ade View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. My custom messages

    Mael FEURGARD committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    e551fbe View commit details
    Browse the repository at this point in the history
  2. Revert "My custom messages"

    This reverts commit e551fbe.
    Mael FEURGARD committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    6d43b83 View commit details
    Browse the repository at this point in the history
  3. Use a class for message fields, and expose unit, values enum, alt_uni…

    …t and format when existing in XML
    Mael FEURGARD committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    9e12e82 View commit details
    Browse the repository at this point in the history
  4. Merged with added exposed fields

    Mael FEURGARD committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ce8ca1c View commit details
    Browse the repository at this point in the history
  5. Fixed duplicate imports

    Mael FEURGARD committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    831f882 View commit details
    Browse the repository at this point in the history