Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.
/ TestBench Public archive

Test bench code to view the status of the solar car to perform diagnostics as well as dashboard interface for the driver.

License

Notifications You must be signed in to change notification settings

solarcaratuva/TestBench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestBench

Test bench code to view the status of the solar car to perform diagnostics

Contents of this repository

Testing the test bench webapp without physical serial hardware can be done with the following steps:

  • Install the socat utility to use create_pty.sh
  • create_pty.sh creates two fake serial ports using pseudo-teletypes
  • test.py sends test JSON payloads to one of the two fake serial ports
  • app.py needs to be configured to connect to the other fake serial port

Setting up development environment

  • virtualenv -p python3 env
  • source env/bin/activate
  • pip install -r requirements.txt

Running TestBench

  • python app.py
  • Development web server will be started at localhost:5000 by default.

About

Test bench code to view the status of the solar car to perform diagnostics as well as dashboard interface for the driver.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published