Versions Compared

Key

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

...

  • codegen-tooling-msxiv (required for DBC file)

  • virtual CAN (required for testing

  • AWS (required for DynamoDB)

  • Raspberry Pi Startup Script

The following are not needed but are here in case we need to install them for some reason

...

Make sure that the RasberryPi and Node-Red password are changed from their default setting.

...

Generating the DBC File

Follow the instructions in the repo and run the commands below as well if things aren’t working still.

https://github.com/uw-midsun/codegen-tooling-msxiv

Code Block
# You may need to be root or use "sudo" to run these commands

# Update packages and install dependency packages for services
apt-get update \
 && apt-get dist-upgrade -y \
 && apt-get clean \
 && echo 'Finished installing dependencies'

# Install packages
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
  clang-format \
  git \
  golang-go \
  golang-goprotobuf-dev \
  protobuf-compiler \
  python-pip \
  && rm -rf /var/lib/apt/lists/*

# Clone and install project dependencies
git clone https://github.com/uw-midsun/codegen-tooling-xiv.git \
  && cd codegen-tooling-xiv \
  && pip install -r requirements.txt

# Generate DBC and templates
cd codegen-tooling-xiv \
  && make gen \
  && make gen-dbc

...

Again if you don’t feel like looking at the link, just run the command below to configure the credentials aws configure

If you are using AWS-educate, this doesn't seem to work for so I have to manually go to ~/.aws/credentials and write down my credentials there.

...

Startup script for Raspberry Pi

Copy the following code below into rc.local on the Raspberry Pi so that the telemetry scripts can be run on startup. To access rc.local, run:

sudo vim /etc/rc.local

Once you have opened rc.local, copy and paste the following code below.

Code Block
aws configuretbd

Installing and Running Node-Red

...