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 Shihadeh
7bc6491502
these don't need json
...
old-commit-hash: 9670f8fb9f081a14d1de24f92e0800ebffbb123b
2020-05-04 23:37:07 -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
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
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
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
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
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
Willem Melching
406e13e6d0
Cleanup redundant min steer speed in hyundai
...
old-commit-hash: 5777701b429c3d24c19231ced0905ef71afd2f90
2020-04-30 10:36:34 -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
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
548c4a805e
Return avg angle offset
...
old-commit-hash: 8db89a6b04d7ff55eb2ac49eb2005ee0b5b9d03b
2020-04-28 17:47:04 -07:00
Willem Melching
4d7d4dd627
Retune stiffness
...
old-commit-hash: 9159a8d7011250503a7b4a8e9fdecf61e856de80
2020-04-28 15:30:11 -07:00
Chris Souers
28470d47f6
Static 0xe5 on Honda Bosch ( #1420 )
...
* Recreate a static 0xe5 and send to radar
* remove unneeded declaration
* Update ref_commit
old-commit-hash: 0f530be2b47aa76b4750004ac8cc472f2a5f180f
2020-04-28 14:12:46 -07:00
Dean Lee
4622ab2944
replace duplicate codes with variable ( #1431 )
...
* eplace duplicate codes with variable
* remove space
old-commit-hash: b2be607974f4b51eba9832d9d242662a128b863f
2020-04-28 13:44:57 -07:00
Willem Melching
4610143f9d
Remove fault addr from tombstone title
...
old-commit-hash: e1685b90199f6a05bcedf5d65c1dd9fda58fafb4
2020-04-28 11:32:42 -07:00
Willem Melching
2a15611270
Faster sR and stiffness factor
...
old-commit-hash: b2aefd252fd70bd0e0d2f7a65f34cef9910182bf
2020-04-27 16:39:27 -07:00
Willem Melching
0862301df3
Hyundai: use same gas pressed bit as in panda ( #1428 )
...
* use same bit as in panda
* remove lines
* update ref
* switch gas pedal signal
old-commit-hash: 94bba46d6d25478fc32b4b6c4e187264b0d49e4a
2020-04-27 15:28:34 -07:00
Erich Moraga
739d5c7249
Add HIGHLANDERH_TSS2 Support ( #1425 )
...
* exclude HIGHLANDERH_TSS2
* add HIGHLANDERH_TSS2 support
* Add HIGHLANDERH_TSS2 Support
* Add HIGHLANDERH_TSS2 Support
* Added to IGNORED_FINGERPRINTS per @pd0wm
old-commit-hash: 009c32d516c0a487a146e1943720041c3e77d1bf
2020-04-27 14:56:30 -07:00
Willem Melching
c1bb506016
Unblock stdout in testing slave script
...
old-commit-hash: 09ac646abd2249c79abf3c0e92c02db131081637
2020-04-27 14:11:38 -07:00
Willem Melching
8d4658790e
Remove fake yaw rate from carstate ( #1426 )
...
* remove fake yaw rate from carstate
* update ref
old-commit-hash: f7f0a81d13c9134f6e43aa67005c99b169d532a4
2020-04-27 14:10:07 -07:00
HaraldSchafer
2e830d2ded
angles instead of vp ( #1421 )
...
* angles instead of vo
* clean migration
old-commit-hash: 368b65e29b8c149d4283b53a446b6a1147b92b95
2020-04-27 13:58:36 -07:00
Willem Melching
6a7c712bc0
Add CRV_5G FW versions
...
old-commit-hash: d837b68a764d4a1e88893effd022f208d4488a07
2020-04-27 10:44:36 -07:00
Chris Souers
0d69b39fab
Add FW IDs for 2018 Civic Sedan 1.5 Executive (Euro) ( #1417 )
...
old-commit-hash: 17a743f5a7294d4250c6758b6be3635b31926b33
2020-04-24 14:51:17 -07:00
Willem Melching
f135b7d4df
remove more unused debug scripts
...
old-commit-hash: cbef7b3e71d708f885318aac3bce75c17bbc0048
2020-04-24 14:21:41 -07:00
Willem Melching
2325580259
msgq is done, messaging bechmarks can go
...
old-commit-hash: 2d944e404224163ae9fe3da221cc2d238bf74f70
2020-04-24 14:12:41 -07:00
Willem Melching
deecaf4b45
fake processes that are not used
...
old-commit-hash: ca690e6ff9113279bd0a8f98164fff0b4230019b
2020-04-24 14:12:14 -07:00
Willem Melching
17d28e3ffc
We dont need toyota debug folder
...
old-commit-hash: aa84d05c6c5efd5453c4f4e4fd6a85c674ccca8f
2020-04-24 14:10:56 -07:00
Willem Melching
21d7ad1e51
remove yet another reverse geocoder
...
old-commit-hash: 70ae01e3cdcba25b199e7831d24b70fa699db06d
2020-04-24 14:07:36 -07:00
Willem Melching
9da970c342
no more geofence
...
old-commit-hash: 267ee4d73b993cccee7098ed791b201fe07a3f1c
2020-04-24 14:06:17 -07:00
Willem Melching
cd4c04e290
No more line following robots
...
old-commit-hash: 42f741d6ffe342b629cdcdf083c4edc77d7f0233
2020-04-24 14:05:19 -07:00
Willem Melching
5562627015
this is now in the panda repo
...
old-commit-hash: d0d117a999582dea98e6247b2bf343906a3ec96b
2020-04-24 14:04:26 -07:00