Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A Python script runs each project and can access the state of each driver

  • E.g. pedal project, it reads an ADC for throttle and sends CAN messages based on the project

    • We can set readings for the ADS1259 ADC from MPXE tests! Changing the values that the C reads in memory! That way we can fully test pedal

...

MPXE project (C-side) components:

...

  • Prereq: have protobuf installed (probably already installed from codegen-tooling)

Code Block
# You might need to do this in the box:
sudo apt-get install libprotoc-dev
  • Install protobuf-c: github.com/protobuf-c/protobuf-c

    • Clone that repo to ~/shared, cd into it, run ./autogen.sh && ./configure && make && make install

Code Block
cd ~/shared
git clone https://github.com/protobuf-c/protobuf-c
cd protobuf-c
./autogen.sh && ./configure && make && make install

...