Commit Graph

740 Commits

Author SHA1 Message Date
Adeeb Shihadeh 59ade6c2f6 can't directly access sockets anymore
old-commit-hash: 6acda96a163ad77f2f0b283712ac79b3d3d90d54
2020-07-28 18:37:16 -07:00
Adeeb Shihadeh 1e056a25b9 bump cereal
old-commit-hash: cf8c848ddd9dddd4e1852df365513f73c67ed91c
2020-07-27 13:02:24 -07:00
Adeeb Shihadeh 993eeaf694 Rebuild cython extensions when dependency version changes (#1886)
* rebuild cython extensions when python/cython/distutils version changes

* submodules and boardd

* kalman and transformations
old-commit-hash: 165e14d10384a67777ec5ed787cf1ec82ec61ccb
2020-07-16 13:59:32 -07:00
Adeeb Shihadeh c374f03187 Revert modeld vipc conflate behavior and alert on dropped frame percent (#1877)
* Revert "Fix modeld dropping frames if processing takes over 50 ms"

This reverts commit fb908877a50d72e20a047bd4138316b12c8a30cc.

* track frame drop

* fix unused

* alert on frame drop perc

* reduce thresholds

* posenet is invalid on non-consecutive frames

* Refactor filter time constant

* Use vipc_dropped_frames for posenet valid check

* Actually set frame drop percentage

* Add explicit cast just to be sure

* Prevent frames dropped to go up to quickly on startup

* bump cereal

* reduce soft disable threshold to 1%

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 58c3b5ba84f6c3da3c660770148cea98c708fce5
2020-07-14 14:23:27 -07:00
Adeeb Shihadeh a1dbb38a0c Alert when modeld is lagging by more than a frame (#1823)
* alert when modeld is lagging by more than 1 frame

* log frameAge in modelData

* set posenet valid

* compute frame_age once
old-commit-hash: 03e824a4b558daa15191408e88b73fee7ab1792f
2020-07-09 17:02:21 -07:00
Adeeb Shihadeh cf9b615401 bump cereal
old-commit-hash: 7c4fbb95de0cf1978d5cce0ea9a484f6c41776e9
2020-07-08 16:04:41 -07:00
Greg Hogan bcf7edf595 k-line 5 init fault type (#1821)
* k-line 5 baud fault type

* update name

* bump cereal

* fix name

* add missing event
old-commit-hash: c458f5a5d3587d0eb87abbebd86c4f399e28c63d
2020-07-06 09:33:16 -07:00
robbederks 4b2775add9 Dos (#1795)
old-commit-hash: df86c476c76f53d385d3c8df63d27588dde3dccd
2020-06-29 12:47:48 +02:00
Adeeb Shihadeh 1e6034aaf8 bump submodules
old-commit-hash: 491a02d5d6e991f4bf6f2cace7c83c13357a89ee
2020-06-27 17:46:59 -07:00
Willem Melching 6dc1c6e58e cleanup no sensor data alert (#1760)
old-commit-hash: 264015c584a0a010ba5f63af67da2e6bddebbea4
2020-06-22 14:27:07 -07:00
Adeeb Shihadeh 092cb5a021 NEOS update required alert (#1722)
* NEOS update required

* permanent alert

* bump cereal
old-commit-hash: 6c156d7f45ee21f77fbafcb9867fb0712adb53f5
2020-06-16 12:21:41 -07:00
Harald Schafer 0b71c86be1 add stuff to liveloc
old-commit-hash: d21758939420dba7d9dba842739914432a77e024
2020-06-15 17:29:33 -07:00
Adeeb Shihadeh 1dfa960485 bump cereal
old-commit-hash: 9e34ed4e8ccf624125177df4f3a8511d02115a86
2020-06-15 16:01:35 -07:00
Adeeb Shihadeh f008dc9f61 bump cereal
old-commit-hash: 92c29c426916765b3af8d976a62502ece295f39e
2020-06-12 20:38:45 -07:00
Willem Melching 59c2a952b0 bump cereal
old-commit-hash: 17619a63eee80b178d4b0d5c0b8e8beaa6b5650c
2020-06-12 16:04:03 -07:00
Willem Melching 415c336c41 no gps warning after 5 minutes (#1692)
old-commit-hash: 684f7b2cc073010eb9e9cebfecbf1205be17d5a8
2020-06-12 16:03:35 -07:00
Adeeb f396864fab Delay alert creation for some events (#1689)
* add creation delay parameter to alerts

* 1s delay for sensorsInvalid and canError

* bump cereal

* update refs
old-commit-hash: 0bbe870b5f90c25427c4d21cabe4a0f78291eee9
2020-06-12 15:32:50 -07:00
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
Willem Melching 7dfdf3578c bump cereal
old-commit-hash: a777fa851e8a444cadb516fc4e35b641018f0559
2020-06-09 16:45:56 -07:00
Willem Melching 76a465e0ec Write orientation & transform in C++ (#1637)
* locationd at 20hz

* update ref

* bump cereal

* dont modify global state

* add scons files

* ecef2geodetic and geodetic2ecef

* Finish local coords class

* Add header file

* Add orientation.cc

* cleanup

* Add functions to header file

* Add cython wrapper

* y u no work?

* This passes the tests

* test rot2quat and quat2rot

* Teste euler2rot and rot2euler

* rot_matrix

* test ecef_euler_from_ned and ned_euler_from_ecef

* add benchmark

* Add test

* Consistent newlines

* no more radians supported in geodetic

* test localcoord single

* test localcoord single

* all tests pass

* Unused import

* Add alternate namings

* Add source for formulas

* no explicit tests needed

* remove benchmark

* Add release files

* Typo

* Remove print statement

* no access to raw transform matrix

* temporarily add tolerance

* handcode quat2euler

* update ref
old-commit-hash: c18e7da3c25c59a19efda8ec3a1b716c2571cc2f
2020-06-09 16:44:26 -07:00
Adeeb Shihadeh bf8277dfa9 bump submodules
old-commit-hash: 4509ee7247ce3fdc9400501c4c16b13d6b0a29a5
2020-06-08 13:12:55 -07:00
George Hotz 669977eb1f save valid_len
old-commit-hash: 4e7fe3a9ec4fddd517ea470af3b7eb3a6fd415e3
2020-06-03 14:18:42 -07:00
George Hotz cca6ac0599 bump cereal
old-commit-hash: c76cf53175f0aab81ba9a0e08846d2f549361c92
2020-06-03 13:51:42 -07:00
Adeeb 8c0971086b Fix speed too low (#1627)
* fix speed too low

* bump ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 165bcf1f31ffc34b56c84cf8e71f41ce224dd7e3
2020-06-02 17:31:59 -07:00
Willem Melching 1d1e58eeb1 bump submodules
old-commit-hash: 60620fe773dc000a6cd8dfef66293d164631316f
2020-06-02 16:29:50 -07:00
Willem Melching 24f4b9753f bump cereal
old-commit-hash: a2ca743f66dd68d6d7ee3c4047e7d8ca2d3e6bd8
2020-06-01 13:47:17 -07:00
Adeeb Shihadeh 3726ca9de1 bump cereal
old-commit-hash: 5b431d41a8c7cd682be8fccf6dccb1c3d28b2a37
2020-06-01 01:55:56 -07:00
Adeeb Shihadeh 82a7dce75b bump submodules
old-commit-hash: 5aad365fc0fb983cc4e58babf3c7f3d90bb6852b
2020-05-31 18:18:59 -07:00
Adeeb Shihadeh 9823f1164c enable flake8 E303: too many blank lines
old-commit-hash: f3dcf861c73b47c52b5dd77a8f1f8858005ae18b
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh 4b8394be47 bump again
old-commit-hash: b86460c28e4c14256fc8c6f46e1787d50e08e834
2020-05-31 14:44:42 -07:00
Willem Melching 710101c51c bump submodules
old-commit-hash: 35663f2fbca2f055d618fd4cc4a93025de578aa4
2020-05-31 14:37:10 -07:00
Adeeb Shihadeh 68a3061c9d enable E261 in flake8: two spaces before inline comment
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh 2feaebfc80 break canError into two separate events
old-commit-hash: 916448af25d61a9acf1d35356fafccdfc800c440
2020-05-29 12:00:41 -07:00
Willem Melching 35858a1b16 bump submodules
old-commit-hash: 6a8b4fe793a94cf4e5f74959f7e98a70181f60ba
2020-05-28 17:48:04 -07:00
Willem Melching 03a268fd0b add gpsOK flag to liveLocationKalman
old-commit-hash: 8ea8f405db489f262d396989626209a3e92b23ac
2020-05-27 15:14:13 -07:00
Willem Melching 5ba2f358b4 bump cereal
old-commit-hash: 5f0ae7d26eb0ebbfb258ab005c99c79404bc9af5
2020-05-21 15:06:58 -07:00
Willem Melching f0b18f5f5e bump cereal
old-commit-hash: b01abfa9cb9506bfe74866d2ff26831ee53c6fce
2020-05-21 13:58:08 -07:00
Willem Melching 2afb900383 bump cereal
old-commit-hash: f5a9cd2644798dd728cdd613ee331526ba074f6f
2020-05-19 15:50:20 -07:00
Willem Melching 99c10309de bump cereal
old-commit-hash: f6f4a0b55899ad369c5665143673dc83d22d9969
2020-05-19 15:46:14 -07:00
Willem Melching fdd11d0892 bump cereal
old-commit-hash: b224af1386599aaa5af179b913c9fd35fbe684af
2020-05-15 12:08:09 -07:00
Adeeb 48340cc8cb Alerts + Events refactor (#1466)
old-commit-hash: d976233f696040cd5f9a5081c7b21742b7aaef66
2020-05-14 15:21:21 -07:00
Adeeb Shihadeh 8f45126943 bump cereal
old-commit-hash: 229209d8a1abafa1d5403c6f88acf831c2f4ea73
2020-05-12 21:05:52 -07:00
Willem Melching ea6a19c115 bump submodules
old-commit-hash: 073fbb99cd0b674c9c33f0ad6940ff492ff70048
2020-05-12 18:51:02 -07:00
Willem Melching 8505259e41 Library cleanup (#1491)
* library cleanup

* remove fastcv

* Fix build step

* bump cereal

* bump cereal

* Install capnp

* bump

* no docker cache

* Update installation instructions

* Needs sudo

* Can we sudo?

* Cache was not the problem

* remove static libraries from boardd install script

* Update setup script

* Remove import

* No capnp install in lgtm

* Fix dockerfile
old-commit-hash: 72db8d890d04e6eb3ce652be3da9bdf23ebda510
2020-05-12 18:50:07 -07:00
Adeeb Shihadeh 0d223de608 bump cereal
old-commit-hash: 75885845178b77450c649ec023003fe0c71ce263
2020-05-07 22:49:53 -07:00
Adeeb Shihadeh 45b9284fd0 don't need c capnp any more
old-commit-hash: 27303c2d5d094088fd6afcceccac53bbb9c73f08
2020-05-07 21:07:18 -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
ZwX1616 34eebc37b1 orange distracted alert is now continuous (#1412)
old-commit-hash: 922055f464fbb98ef8366f802897035aa5342333
2020-04-23 14:15:05 -07:00
Willem Melching 32b3e3e3aa bump cereal
old-commit-hash: 7751aeca838f0f869e57e61e62c0a09fd2efa0fa
2020-04-16 10:18:38 -07:00
ZwX1616 f90b956f47 RHD support for driver monitoring (#1299)
old-commit-hash: 133b1a20b42e56dc67a013dc2ee856360e4d1d1c
2020-04-15 16:48:44 -07:00