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

Display Battery Info #5

Open
3 tasks
faraz-b opened this issue Jul 20, 2020 · 5 comments
Open
3 tasks

Display Battery Info #5

faraz-b opened this issue Jul 20, 2020 · 5 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed Kivy Front-end framework

Comments

@faraz-b
Copy link
Member

faraz-b commented Jul 20, 2020

Currently, the raw battery information that the driver would need is the Battery Voltage and the Battery Temperature

Phantom One Stats

State Voltage Temperature
Nominal 144V 35°C
Max 156V 60°C

*still need to confirm these stats

The current design idea is two rectangular bars at each top corner of the display as shown below:

image

  • Design the progress bars and the different states (low/med/high voltage = red/yellow/green, low/med/high temperature = green/yellow/red)
  • Encode the battery data into the color states
  • for example, battery temperature between 40°C - 60°C would be in the red zone
  • Create a test function that does a full sweep of the different states
@faraz-b faraz-b added good first issue Good for newcomers help wanted Extra attention is needed labels Jul 20, 2020
@faraz-b faraz-b mentioned this issue Jul 20, 2020
6 tasks
@esoboleva esoboleva self-assigned this Jul 25, 2020
@faraz-b
Copy link
Member Author

faraz-b commented Jul 25, 2020

@faraz-b
Copy link
Member Author

faraz-b commented Jul 25, 2020

GitHub Flow:

  1. git add -A
  2. git commit -m "new commit message"
  3. git push

@faraz-b faraz-b added this to the Driver Display Complete milestone Aug 30, 2020
@faraz-b faraz-b added the Kivy Front-end framework label Aug 30, 2020
@esoboleva
Copy link

Battery and Temperature Display Ideas

@esoboleva
Copy link

Run Kivy Inspector:

  1. python kivyplayer.py –m inspector
  2. ctrl + E

@esoboleva
Copy link

esoboleva commented Sep 24, 2020

FIRST CONTROLS SPRINT UPDATE:

  1. Figured out the design of the battery temp and voltage display (shown in image above).
  2. Chosen the number of bars to be 15 within each box (battery and temp). 5 bars will be red = very high temp, 5 bars will be yellow = warning temperature, 5 bars will be green = safe temperature. The number was chosen to be 15 because it is first of all divisible into 3 categories nicely. Second of all, the actual dashboard itself is quite small (155mm x 86mm), meaning that the size of the battery temp and voltage will only be about 5cm x 2 cm at most. Therefore, by drawing out a sample life-size model, it was determined that having 15 bars, each about 3mm, would be easiest for the driver to view, and enough bars to see smaller changes in temperature and voltage (for the safety of the driver).
  3. Added buttons and animation that will represent the battery temperature/voltage increasing/decreasing.
    https://youtu.be/Z0kNcRWZyOo
  4. Next steps:
    a. Talk to engineering (dynamics team) about what is the unsafe temperature, what should be warning temperatures, and what
    are acceptable/safe temperatures. Same for voltage.
    b. Make custom buttons that fit within the design box.
    c. Set the animation on a clock so it constantly updates and either disappears or appears based on the sample values of
    battery temperature/voltage.
    d. Maybe look into screen manager to help with animation of appearing and disappearing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed Kivy Front-end framework
Projects
None yet
Development

No branches or pull requests

2 participants