Commit Graph

12 Commits

Author SHA1 Message Date
George Hotz 5d069eb8c3 Fixups for Mac, and a bunch for PC (#1654)
* fix mac nui

* fix cereal

* builds on mac without warnings

* ui swap shouldn't be instant on pc

* camerad builds on mac

* modeld, and now everything, builds on mac

* ui draws pictures on mac now

* fix camerad shutdown

* support ui looping on pc

* python3 on that

* SCNu64 should be cross platform

* bump cereal and new apk

* clean up

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 344a9a369983f58fe1e71f84478ded5c766e0d1b
2020-06-11 18:21:59 -07:00
Adeeb d035394ce7 Add pre-commit hooks (#1629)
old-commit-hash: ab83e48ec4f7c7ddaa742d9797b0d38646fdb268
2020-06-03 12:54:49 -07:00
Adeeb Shihadeh be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
George Hotz d47b2ef576 More LGTM fixups (#1457)
* exclude lib dirs, fix 3 cpp errors

* fix more alerts, exclude mkvparse

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: e568d3cadc71d2b301fcb46af9afb3c8c8005f72
2020-05-02 20:00:41 -07:00
George Hotz 6fbcde48e5 Using lgtm.com and fixing found alerts (#1452)
* lgtm in readme, and mac nui fixes

* call super inits in radars

* unused imports, dup lines

* more radars, more unused imports

* pass CP into RadarInterfaceBase

* more fixups

* unused imports

* delete unused lines

* ugh, new unused import

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 1295cfe06cd80a2c2f40e0af97697ee818037f08
2020-05-02 12:07:34 -07:00
George Hotz 48949fa0a8 fix nui
old-commit-hash: dd22cfcd1308654e76f371780115407adf0852b8
2020-04-21 14:48:31 -07:00
Ayman Saleh 1cae066cda NUI comma api intergration (#1186)
* Prototyping comma api call

* Adding nui command

* Fixing hard coded vals

* Adding generalized nui changes

* Added both public and private api support

* Removing debug statement

* Chaning private api tag to use env variables

* FrameReader change for string parsing

old-commit-hash: 763493e98887d207cd6632e13b0a7a31573ad41d
2020-03-01 22:06:33 -08:00
littlemountainman af2a48f249 Make Nui tests work. Framereader moved to tools/clib (#1185)
* add more deps

* setup is now working,removing brackets

* Fixing tests in nui

* make it eveno

* readme markdown and town not needed since set via client

* adding explanations for sim in readme

* make it markdown buildable

* revert changes in setup

* work now

old-commit-hash: a32fe80d392027290bdf3be35269dcc42d9cd5fe
2020-03-01 10:50:03 -08:00
George Hotz e53830ae84 Revert "[Memory leak]uniq_ptr for tmsg (#985)"
This reverts commit b1f3fbd71f40c2142e6aaddd3b5579413a1412a3.

old-commit-hash: 86b1ca176a2c4e86cb511e7e34694621950c6c90
2020-03-01 09:57:28 -08:00
littlemountainman 12f79f439a missing bracket (#1178)
old-commit-hash: 660a15655723ab23b78a6871835daf3d60433a53
2020-02-29 12:49:56 -08:00
ga 0b3bfbc449 [Memory leak]uniq_ptr for tmsg (#985)
* uniq_ptr for tmsg

* Added header

old-commit-hash: 7f6c9ebaf7
2020-01-23 11:25:54 -08:00
George Hotz 99c5800ea5 merge in tools
old-commit-hash: 29ac3da7b8
2020-01-17 10:07:22 -08:00