Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
2022-06-11 16:38:24 -07:00
Ewout ter Hoeven
332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
2021-12-24 11:18:39 -08:00
Adeeb Shihadeh
e13630dfee
faster jenkins ( #22973 )
...
Co-authored-by: Comma Device <device@comma.ai >
2021-11-18 23:43:09 -08:00
Adeeb Shihadeh
e8598f7455
add multipanda to loopback tests ( #22900 )
2021-11-13 17:39:51 -08:00
Adeeb Shihadeh
93d87cdc6f
test_boardd: don't modify environment at import time
2021-10-25 09:47:07 -07:00
Adeeb Shihadeh
b5960b9dc8
move nose tests to unittest ( #22665 )
...
* move to unittest
* boardd loopback
* no more nose
* phone only
* fix panda decorator
2021-10-25 09:44:04 -07:00
Robbe Derks
91987f38d4
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
2021-10-08 17:54:34 +02:00
Adeeb Shihadeh
f9a961f6fb
delay controls start ( #20761 )
...
* delay controls start
* shouldn't need this stuff anymore
* only delay board
* bail after 2s
* fix loopback test
* fix process replay
* update refs
* bump cereal
Co-authored-by: Comma Device <device@comma.ai >
2021-04-30 13:55:17 -07:00
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
2021-02-16 21:39:32 -08:00
Adeeb Shihadeh
6e70baa306
actually wait for boardd to start
2021-01-26 15:09:09 -08:00
Adeeb Shihadeh
144227d3d3
wait for pandad to start boardd
2021-01-26 13:39:15 -08:00
Adeeb Shihadeh
59f4ea9fe5
fix boardd loopback test after #19880
2021-01-26 12:12:10 -08:00
Adeeb Shihadeh
6c86afee16
Qt spinner ( #2494 )
...
* move android spinner
* qt spinner
* rotation
* nothing by default
* spin spin
* fix rotate
* style
* spinner for all
* -2
* unused
2020-11-06 18:44:04 -08:00
Willem Melching
3dd9448981
Params path only in one place ( #2344 )
...
* fix params paths
* Qcom & qcom2
* This env variable is not used anywhere
* params path in only one place
* fix other PARAMS_PATH references
* absolute path is probably better
2020-10-15 13:15:22 +02:00
Willem Melching
c7152d5419
Hardware abstraction class ( #2080 )
...
* hardware abstraction class
* De Morgan
* Rename pc hardware class
* Fix sound card in controlsd
* Pc get sim info
* fix hardware in test
* two more
* No more random imei on android
* no randomness on android
* Need to return something that looks like imei for registration to work
* Return proper network strength
* Unused import
* Bug fixes + gpsd is only android
2020-08-26 14:57:17 +02:00
Willem Melching
80acb32825
Panda abstraction layer in boardd ( #1919 )
...
* start on panda abstraction layer
* handle bulk transfer in library
* Safety model abstraction
* Abstract hw type into library
* Handle disconnect
* RTC stuff
* Fan control
* Health
* Panda fw version
* Read serial
* Power saving
* Power mode
* Cleanup pigeon thread init
* Rename safety setter variable name
* Remove comment
* Unused global cleanup
* malloc -> new
* whitespace
* Use std::thread
* Use std::thread for safety setter
* Cleanup igntion_last global
* Heartbeat
* logd
* More global cleanup
* Put back sleep
* ir pwr
* Always broadcast health
* init struct with zeroes
* Fix eon build
* fix race condition
* fix Adeebs comments
* abstract can send and receive
2020-07-31 23:14:31 +02:00
Willem Melching
0ac2f6c470
make sure boardd loopback test can run standalone
2020-07-23 15:31:32 +02:00
Adeeb Shihadeh
3ff373ed0d
add UI for boardd loopback test
2020-07-15 11:53:42 -07:00
Adeeb Shihadeh
3ab0b49656
Boardd loopback test ( #1840 )
...
* start boardd loopback test
* let's try this in CI
* fix jenkinsfile
* remove old
* rename
* check msgs
* should be reliable now
* send more
2020-07-08 19:42:03 -07:00
Adeeb Shihadeh
27754a277c
enable E261 in flake8: two spaces before inline comment
2020-05-31 14:07:29 -07:00
George Hotz
ef93a715e1
selfdrive/boardd
2020-01-17 10:51:01 -08:00