October 2022 Flashcards
EFI
Extensible Firmware Interface (bootloader)
GPT
GUID Partition Table
Cohda
CAV HW company (RSU, OBU)
peplink
network HW company
pepwave
mobile networking tech made by peplink
FLIR
thermal cameras
RTSP
Real Time Streaming Protocol
NORPIX
digital video camera supplier
FLYCAP
short for FlyCapture: Software to interface with FLIR (thermal cameras)
PointGrey
A model of camera made by FLIR
Iteris
Sensor Fusion Company for Traffic Detection and CAV
HAWK
High-intensity Activated crossWalK.
Monica Jones
Motion Sickness Project
ros2 cli commands (7 commands & 4 “things”)
thing = topic, node, interface, parameter
ros2 thing list
ros2 thing info (see type and number of subs/pubs)
ros2 thing echo
ros2 thing hz
ros2 thing bw
ros2 thing pub
ros2 bag play/record
remapping topics at runtime? (ROS)
rosargs -r topic_name:=new_topic_name
In ROS what command to find out about a message type (data structure)
ros2 interface show
Key pieces/concepts of ROS (7)
nodes
topics
pub/sub
servers/clients
interfaces
parameters
ros2bags
ROS how to start many nodes at once? (naming convention too)
Launch File (my_robot_bringup)
remappings too
6 constraints of REST
client-server arch
statelessness
cacheability
layered system
code on demand
uniform interface
2XX response codes
200 - OK
201 - created
204 - No Content
response code ranges
1XX - info
2XX - success
3XX - redirection
4XX - client error
5XX - server error
4XX response codes
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
405 - Method Not Allowed (i.e. PUT only targets singleton resource)
409 - Conflict (already exists)
5XX response codes
500 - Internal Server Error
502 - Bad Gateway
503 - Service Unavailable
vue events (lifecycle)
before create
created
before mount
mounted
before update
updated
state options (Vue) (7)
data (returns the initial reactive content state)
props
computed
methods
watch (define callbacks to be used on data change)
emits
expose (a way of creating public properties)
Dave Leblanc
Acting Head of the Vehicle Systems & Control Group at UMTRI
GIS Point
All location info in one field.
Velodyne
A high-end Lidar brand
Vue slots
Slots are reserved space offered by vuejs to display content passed down from one component to another. There are two types of slot in vuejs namely: named slot and unnamed(default) slot.
Used to pass down Html elements from one component to another.
v-model in Vue…
(note the opening/closing brackets are missing from the code below)
input :value=”text” @input=”event => text = event.target.value”
The v-model directive helps us simplify the above to:
input v-model=”text”
common use of kwargs
to pass a dictionary full of values down and around methods until all values are used.
__str__
just like ToString override
magic methods
dunders before and after
__repr__
unambiguous representation (a little bit like serialization)
not modified status
HTTP 304 cached file sent back.
idempotent
multiple operations give you back the same result. GET & PUT.
CORS
Cross Origin Resource Sharing
SOP (browsers)
Same Origin Policy
HTTP header for controlling caching (1 header, 2 value examples)
cache-control
max-age (seconds)
no-cache
term for getting around cache
cache busting
first class function
functions are treated as first-class citizens. i.e. as variables/arguments to be passed in
python equivalent to throw
raise
Python equivalent to try catch
try except
decorators syntax Python
@
Python oddity about functions
functions can be defined inside other functions
Common decorator name solution (Python)
import functools
functools.wraps()
Python trick for when decorating with parameters
on internal function (the decorator) use *args, **kwargs… will work for any other combo of arguments.
List of immutable natives (Python) (5)
Tuples
Integers
String
Float
Bools
Important when setting up default parameters (python)
NEVER use a mutable type as a default.
None is a better option
python lib that takes care of env
python-dotenv
flask env that gives hot restart
FLASK_ENV=development
or
FLASK_DEBUG=1
How to get errors documented automatically in flask API
use the smorest/flask abort method