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

Data Vizualizer #2

Open
AdityaNG opened this issue May 31, 2022 · 1 comment
Open

Data Vizualizer #2

AdityaNG opened this issue May 31, 2022 · 1 comment
Assignees

Comments

@AdityaNG
Copy link
Collaborator

@priyaasuresh

Take inspiration from the following videos:

  1. GPS, Compass, Speed, Friction Circle: Formula Student Germany 2019 AutoX uncut
  2. Friction Circle, Throttle, Brakes, Steering: DUT19 onboard FSA 2019
  3. Driven Path rendering (might be a lot harder): AMZ Driverless

Details

  1. Accelerometer: Friction Circle, units: Gs
  2. Gyroscope: Render a cube with different colored faces (? not sure, get creative), units: not sure
  3. GPS Mode 1: Render the entire relative map with the current vehicle position, no need for actual map, only relative position of vehicle on the map
  4. GPS Mode 2: Render only the nearby map using the mapbox. Also plot out the d
  5. Speed: Either analog meter or just display the digits in Km/h
  6. Throttle: Analog bar in green that fills up
  7. Brake: Same as throttle (I think it's binary tho)
  8. Driven Path Rendering: For a given frame at some time t, using GPS and IMU data from subsequent frames render the path that the vehicle is going to drive through on that frame

import time
class AndroidDatasetVisualizer:
"""
AndroidDatasetVisualizer
"""
def __init__(self) -> None:
# Start TCP Server
# Default message to be 'standby'
pass
def playback(self):
try:
# Start playing
while True:
pass
except KeyboardInterrupt:
# Stop playing
print("Stopped rec at: ", time.time())
def __str__(self) -> str:
return "AndroidDatasetVisualizer"
def __repr__(self) -> str:
return "AndroidDatasetVisualizer"
class DVRDatasetVisualizer:
"""
DVRDatasetVisualizer
"""
def __init__(self) -> None:
# Start TCP Server
# Default message to be 'standby'
pass
def playback(self):
try:
# Start playing
while True:
pass
except KeyboardInterrupt:
# Stop playing
print("Stopped rec at: ", time.time())
def __str__(self) -> str:
return "DVRDatasetVisualizer"
def __repr__(self) -> str:
return "DVRDatasetVisualizer"
class PandaDatasetVisualizer:
"""
PandaDatasetVisualizer
"""
def __init__(self) -> None:
pass
def playback(self):
try:
# Start playing
while True:
pass
except KeyboardInterrupt:
# Stop playing
print("Stopped rec at: ", time.time())
def __str__(self) -> str:
return "PandaDatasetVisualizer"
def __repr__(self) -> str:
return "PandaDatasetVisualizer"
class MergedDatasetVisualizer:
"""
MergedDatasetVisualizer
"""
def __init__(self) -> None:
# Init everything
pass
def playback(self):
try:
# start recording @ T+3seconds
while True:
pass
except KeyboardInterrupt:
# stop recording
print("Stopped rec at: ", time.time())
def __str__(self) -> str:
return "MergedDatasetVisualizer"
def __repr__(self) -> str:
return "MergedDatasetVisualizer"

@AdityaNG
Copy link
Collaborator Author

AdityaNG commented Aug 5, 2022

Got some basic GPS visuals on the phone image

7363805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants