Dean Lee
90af65c41c
UI: move c-capnp to c++ ( #1455 )
...
* ui:move c-capnp to c++
* move Subsockets into vector
* rename reader to msg
include cereal/gen/cpp/log.capnp
* fix some errors
restore some changes
restore previous
* cleanup codes
cleanup codes
* remove unused variable alert_size
* handle capnproto's enum in a robust way
add break to default
* switch -> std:map
* use static std::map instead of switch
do cleanup
* fix wrong variable name
* use FlatArrayMessageReader instead of custom MessageReader
remove messagehelp.h
Revert "use FlatArrayMessageReader instead of custom MessageReader"
This reverts commit 57d8b6b1e2b4bad908246f35eb068535b1627167.
use FlatArrayMessageReader instead of custom MessageReader
add header file
remove capnp_c lib,add kj lib
include serialize.h
fix
remove duplicate includes
old-commit-hash: ee725534bb1ae2335705562e9f1eb176e5cd91fd
2020-05-06 08:38:26 -07:00
Adeeb
8450ae3541
CI: bump upload artifact version ( #1471 )
...
old-commit-hash: 39727ddc56c47cb1920ae9efc7e3581667430a84
2020-05-06 05:46:02 -07:00
George Hotz
ed5786cd55
codecov status always passes
...
old-commit-hash: 262e5c186905b1e1cf0e68d534264f34cf8f684c
2020-05-05 00:28:09 -07:00
Adeeb Shihadeh
7bc6491502
these don't need json
...
old-commit-hash: 9670f8fb9f081a14d1de24f92e0800ebffbb123b
2020-05-04 23:37:07 -07:00
George Hotz
ca0c6e445e
Integrate codecov.io ( #1465 )
...
* integrate codecov
* add codecov to readme
* don't need the token
* fix badges
* /bin/bash, not /bin/sh
* needs coverage in the docker
* from the git root
* add CI_ENV like https://docs.codecov.io/docs/testing-with-docker
* custom upload step
* use codecov action
* coverage xml
* add unit tests, good luck
* name the container tmppilot
* add name, fix unit tests
* yml, fix coveragerc-app
* remove tmp/openpilot
* try without xml
* just call the upload script in docker
* ugh, i hate docker
* idk env
* yaml?
* don't be clever
* maybe this
* running out of ideas
* coverage xml maybe
* upload coverage.xml
* ugh CI_RUN
* unneeded artifact
Co-authored-by: George Hotz <geohot@gmail.com >
old-commit-hash: 4252028a8446d6c64e67c0574fc473420a800a58
2020-05-04 14:03:16 -07:00
George Hotz
16cbb5e255
Revert "Bypass alignment related copy whenever possible ( #1443 )"
...
This reverts commit 235d4f8957ee4566d6217783638fa58a586bb35a.
old-commit-hash: d5ca841b0f18d2e707eb1f73afac842ede9be7e8
2020-05-04 09:54:05 -07:00
Adeeb Shihadeh
004c0e277b
fake less of PubMaster and SubMaster when profiling
...
old-commit-hash: ad2c54e9916301d63907d96c3e9dec046bd016b1
2020-05-03 17:41:26 -07:00
Dean Lee
0a3dfb0476
fix wrong order of cleanup calls ( #1461 )
...
old-commit-hash: 75abfe28d5e979e7ebda3b89c18130365e303cca
2020-05-03 08:28:10 -07:00
ZwX1616
aada0e9a66
bad AF state logging ( #1365 )
...
old-commit-hash: 968e2585cc7e2a580fa351a75ceb02c1fe02c409
2020-05-02 21:40:43 -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
0fcd08af91
Add C++ support for LGTM ( #1456 )
...
* cpp analysis
* switch to index command
Co-authored-by: George Hotz <geohot@gmail.com >
old-commit-hash: eb67c74a446536581b0cc3e6f6ddbe96ace5c254
2020-05-02 14:21:27 -07:00
Erich Moraga
601809cc21
ESP f/w F152642521 for CAR.RAV4H_TSS2 ( #1448 )
...
DongleID 08ae2ec6875e165c
old-commit-hash: cb5076b4b233be73388a880641f983860cd08a1d
2020-05-02 12:11:11 -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
Dean Lee
c1641cc035
simplify drawing text and rect ( #1446 )
...
* add ui_draw_text
remove draw textbox
make draw_text static
add blank line
* add ui_draw_text
remove draw textbox
make draw_text static
add blank line
add ui_draw_rect
draw rounded rect
fx typo
* remove used variables
* reduce lines
fix typo
* resolve confilit
old-commit-hash: 846a58507fb2e19d399555ad321c0208f1dec0d9
2020-05-02 11:27:03 -07:00
Erich Moraga
9974fa017f
Line # 9 was a duplicate to # 5 ( #1451 )
...
Duplicate line...
#include <string.h>
old-commit-hash: c30b3b9fc9cbb69b2464bc19ee1816b59569e661
2020-05-02 08:25:17 -07:00
Dean Lee
f2932aadfd
Bypass alignment related copy whenever possible ( #1443 )
...
remove blank lines
add file messagehelp.h
remove blank line
simplify
after review
old-commit-hash: b2250166281406853de9901271d69a9e64b3b74e
2020-05-01 19:21:00 -07:00
Dean Lee
5da84ba511
simplify drawing circle images ( #1445 )
...
* simplify drawing circle images
add static
set default color to 0 0 0 0
remove lines
* fix img_weel_y
* use color macro
old-commit-hash: 4857f45d6a0236f9977b8848a48c1d883cf0e837
2020-05-01 19:16:17 -07:00
Adeeb Shihadeh
baa5f498b5
bump opendbc
...
old-commit-hash: 3dd62c10216d44bdf821254ebf769d149a2ab2c2
2020-05-01 13:55:55 -07:00
Adeeb
614adb569e
Add steerWarning and steerError to carState ( #1444 )
...
* Add steerWarning and steerError to carState
* fix gm and hyundai
* update refs
old-commit-hash: 337529d5cb7c8f35ed776c96bc2c2f394f766305
2020-05-01 13:13:12 -07:00
Willem Melching
f9a65e38b5
Less hardcoded values in profiling script
...
old-commit-hash: 5d69e9728155e83a013833c7ce32bb9ee97ff6d3
2020-05-01 11:38:30 -07:00
Willem Melching
730615c123
small cleanup of profiling script
...
old-commit-hash: 4301c5efb554dd46e440f53957f519bb088d0dd6
2020-05-01 10:49:02 -07:00
Willem Melching
46ab48372b
run both deterministic and statistical profiler
...
old-commit-hash: b3e7d94303e505917e0079f559cdd0319cd0ecbf
2020-04-30 17:39:37 -07:00
Willem Melching
06012f4867
use proper cachegrind extension
...
old-commit-hash: 04bc4a0e458b02074bf59b1edbe6cde07436a27d
2020-04-30 17:07:46 -07:00
Willem Melching
fa6ec935e2
Remove comments from Sconstruct
...
old-commit-hash: c624edb57c690f6d715ef0553a4b7bcf5e7acd3d
2020-04-30 16:42:34 -07:00
Willem Melching
6993b1ecca
Build log_index using scons
...
old-commit-hash: 845abed5db08d3835ddf64bee977d56a2056461c
2020-04-30 16:26:11 -07:00
Willem Melching
1a825681b3
Write profiling result after running
...
old-commit-hash: 079c9e714b5286d197cd0ba3f49340e6b0ae101a
2020-04-30 16:19:12 -07:00
Adeeb
2087fb940b
Chrsyler: calculate checksum in CAN packer ( #1438 )
...
old-commit-hash: 6ff08f8dee4117b1762250e1d6f1dd692b42bcd3
2020-04-30 15:43:59 -07:00
George Hotz
1a5a6640d5
add simple usage example to window.py
...
old-commit-hash: c4592e854767e635e4e1f6a75e74f1453043c8c4
2020-04-30 15:31:01 -07:00
Willem Melching
3314b9ee47
Run controlsd without sockets
...
old-commit-hash: 4d03b8536f408832208644c36bf020c4a67014ba
2020-04-30 15:15:19 -07:00
Willem Melching
db8dd33efc
Logreader can take car of downloading the files
...
old-commit-hash: 71589fc92eca6eb8ae2aa3b7d6cab75bac0ae186
2020-04-30 15:09:19 -07:00
Willem Melching
4ce92ab902
Handle loop and multiple publishers
...
old-commit-hash: e2493c2221ca6dc5a2eceb4d9fb1a46fa62c7e9c
2020-04-30 14:33:58 -07:00
Willem Melching
9e9d359d62
Move minSteerSpeed to base interface
...
old-commit-hash: e1a2fbea5107544235df8c2e2b006f06bb9a056b
2020-04-30 14:13:33 -07:00
Shane Smiskol
eb99eae1f6
remove redundant ret.steerControlType line, fix indentation in toyota/carcontroller.py ( #1442 )
...
old-commit-hash: e7ae7b98501d4061efcf0d9161535d029d3c3c64
2020-04-30 14:11:31 -07:00
Dean Lee
40dfc4874b
better ui_draw() ( #1432 )
...
* better ui_draw()
* fix missed border
reduce code
remove white line
old-commit-hash: 3fe3afeedeab176f7423a73c0f573396eef41d45
2020-04-30 12:11:35 -07:00
Greg Hogan
22b70c7394
tensorflow-gpu==2.2.0rc4
...
old-commit-hash: 3e787057612f911bee2b2fdbdecebd522f58bfd7
2020-04-30 12:10:58 -07:00
Willem Melching
406e13e6d0
Cleanup redundant min steer speed in hyundai
...
old-commit-hash: 5777701b429c3d24c19231ced0905ef71afd2f90
2020-04-30 10:36:34 -07:00
ZwX1616
08e4f3b0f1
fix DLC for new SNPE
...
old-commit-hash: 90c9073250a147dbae427d2c1cba806f127cd412
2020-04-29 20:01:38 -07:00
Willem Melching
39cce620d4
Revert "fix memory leak in encoder_close ( #1366 )"
...
This reverts commit 62f812dca8fda5da7e14252cfcdd8c1ebef38c2c.
old-commit-hash: 9ad6cbbe6dd2b5367039f2774892021a4c27034f
2020-04-29 16:14:51 -07:00
Willem Melching
e95719f5e9
bump opendbc
...
old-commit-hash: 8b65975925465e86d3f3eba363cee38d5e451d6d
2020-04-29 13:52:00 -07:00
Chris Souers
3f7578d570
Rename Honda Bosch RDM signal names
...
old-commit-hash: 000deb18421a99c6647fa4a45e2b5880faa7ffdc
2020-04-29 13:51:44 -07:00
TK211X
7dc70a57e4
Update Elantra Values ( #1430 )
...
* Update Elantra Values one last time
I got the params learner values from EON. These are the values it settled on after driving over a week.
* Include Stiffness Params Value.
* Update interface.py
old-commit-hash: db3864b6ca31d6954b8d2b90a91d01d7286f6996
2020-04-29 13:32:25 -07:00
Willem Melching
66f55e9837
remove pyqt5
...
old-commit-hash: bb02a565b574a8935089bfc1155a3b8ee8af3e87
2020-04-29 13:11:12 -07:00
Harald Schafer
f6c96a59ee
newest
...
old-commit-hash: 2a2d27b6fd6a2e91f0cc0e547ff22ab9f2b94b81
2020-04-29 12:03:00 -07:00
HaraldSchafer
ed76f95dc1
Sim noise model ( #1433 )
...
* 62cb2c3a-7c18-4b09-91ea-c69a1496a839/30
* epoch 90
* looks pretty good
* newest model
* 12570fba-bfe4-43f6-aed0-2078c4ae6dba/40
old-commit-hash: 03b6b2e9edda55eec9acb6322588f9488078222b
2020-04-28 20:05:15 -07:00
Harald Schafer
ea7e91ccac
py3.8
...
old-commit-hash: 568036e42dfb349172a9c8d41a201766c66e111f
2020-04-28 17:48:47 -07:00
Willem Melching
548c4a805e
Return avg angle offset
...
old-commit-hash: 8db89a6b04d7ff55eb2ac49eb2005ee0b5b9d03b
2020-04-28 17:47:04 -07:00
andyh2
d78759fd80
offroad @ openpilot-apks#a2d5674b
...
old-commit-hash: ae37626ecdf7ed08e7f31af364b7f4fb22600946
2020-04-28 16:32:48 -07:00
Willem Melching
d4f6703e3f
No looping
...
old-commit-hash: c4f62b4b8e6720aaccb8cb64882cba8b62992189
2020-04-28 15:30:11 -07:00
Willem Melching
4d7d4dd627
Retune stiffness
...
old-commit-hash: 9159a8d7011250503a7b4a8e9fdecf61e856de80
2020-04-28 15:30:11 -07:00
George Hotz
a89ff6873e
remove unused overpy, bump ubuntu_setup to 3.8.2
...
old-commit-hash: 0a6d9a7bbd4c63a3c121c52436428eb513c00429
2020-04-28 15:23:39 -07:00