Commit Graph

1056 Commits

Author SHA1 Message Date
Willem Melching 08fa4c4691 Locationd: only process valid log messages (#1761)
old-commit-hash: bfeefb6fd3498a14b27d6c83f5b254ab7113d3dd
2020-06-22 14:41:15 -07:00
Willem Melching b772d12f87 Make model packets invalid when frames are too old (#1759)
* make model packets invalid when frames are too old

* add frame numbers to cloudlog
old-commit-hash: 88f92663780665b27fafdb5ab86ad501cad4cbcf
2020-06-22 14:27:58 -07:00
Willem Melching 6dc1c6e58e cleanup no sensor data alert (#1760)
old-commit-hash: 264015c584a0a010ba5f63af67da2e6bddebbea4
2020-06-22 14:27:07 -07:00
VirtuallyChris 3d228f47ad Add Civic hatch fw version (#1758)
old-commit-hash: ddd6029a865ba63d94b2679c68048d59e1922f70
2020-06-22 11:40:23 -07:00
Dean Lee a4695dc837 Fix resource leak in visionbuf_free (#1699)
* fix resource leak in visionbuf_free

* add mmap_len to VisionBuf
old-commit-hash: a64f0119e0d86ab77aaf16a9b6ee2dfeb0d002df
2020-06-22 11:29:18 -07:00
Michael Honan bb0d671eae Added firmware versions for RAV4 TSS2 Non-Hybrid (#1756)
old-commit-hash: be08124d80dc47571c2f869ac659192ce95328c9
2020-06-22 10:18:04 -07:00
Adeeb Shihadeh 0891b1331d Add cppcheck as a pre-commit hook (#1646)
* add cppcheck as a pre-commit hook

* fix Dockerfile

* update precommit config

* exclude panda and opendbc
old-commit-hash: 3c461ca5ccf1b0ae2b9164feced96a5aa4998555
2020-06-19 20:39:34 -07:00
Adeeb Shihadeh d66c6202bb more generic alert text for wrongCarMode
old-commit-hash: cab96374c5c511adcb83882c52502924a2d08089
2020-06-19 20:36:10 -07:00
Adeeb Shihadeh dd3247d128 Alert when controls fails to start (#1750)
* alert when controls fails to start

* more friendly

* fix sound

* remove that

* just else

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 968443c545ab1443fb2aefe0583d414c384182a7
2020-06-19 19:28:56 -07:00
Willem Melching f9cae2aa8f Fix modeld dropping frames if processing takes over 50 ms
old-commit-hash: a8e7a187ca115a5fe5f3a04923dbe50bd00871c7
2020-06-19 16:57:28 -07:00
Willem Melching ac40387318 debug script to track droppped frames (#1749)
old-commit-hash: 0681fc04ad39e266dc3b7b621d6ab51c87020529
2020-06-19 16:56:56 -07:00
Willem Melching df9cd4dadd Remove kernel check from controlsd
old-commit-hash: 77b7d306834feeba6ac131bfa438465e18d0a3f2
2020-06-19 16:54:42 -07:00
Adeeb Shihadeh e8ced8bee5 Cleanup startup event handling (#1748)
* cleanup startup event

* always show permanent

* lowest

* update refs
old-commit-hash: ccf6b80c7e5aa24b922ed60a519eab91a1d5ec9b
2020-06-19 16:16:48 -07:00
George Hotz 83f6ec221f c++ify thneed to remove memory leaks (#1737)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 01a486308d7fbcd661d8f8786c140222703f659a
2020-06-19 15:53:48 -07:00
Adeeb Shihadeh 1f6af4ded2 fix alert sounds looping
old-commit-hash: 78b428e53441da339f8d13b78bfcf1f5ca192d6f
2020-06-19 14:53:55 -07:00
Willem Melching c9e2c38f91 Only show gps event after 1 km (#1747)
old-commit-hash: 24de8174dcb59fea10402060b8dd1db6ecdaf0f5
2020-06-19 14:11:23 -07:00
Willem Melching 42f153e4e4 ubloxd free->delete, fixes #1742
old-commit-hash: 9e273eb2ec9830b4e2af82168e5f68da71c66761
2020-06-19 13:56:46 -07:00
Willem Melching 390b28cd11 Move kernel check to before creating the submaster, prevent SIGUSR2
old-commit-hash: 2b20479a5c37eeefe6ef6c3b91016c7d5874af30
2020-06-19 13:26:52 -07:00
Adeeb Shihadeh ac0bdce786 catch CalledProcessError when detecting kernel version
old-commit-hash: 0cda65b58e4cb452ac2c3e8a45e3bf7e2905b32f
2020-06-19 12:42:33 -07:00
Dean Lee e04a272892 release resources in modeld (#1700)
old-commit-hash: c8082190a07b6534dffcd7c88945af8b26b241c0
2020-06-19 11:38:39 -07:00
Dean Lee e5749977dd save Reader to local variable to avoid repeating validate the pointer (#1717)
old-commit-hash: fa0b47e6f24dd7cdb28e0637331a39dec0006867
2020-06-19 11:37:31 -07:00
Michael Honan eb2896e2af Added 2019 C-HR FPv2 firmware (#1743)
old-commit-hash: d0254e60970c9938990c07fd2709240d01b8f453
2020-06-19 11:28:10 -07:00
Willem Melching dacbb1a388 make sure everything runs before ending test (#1741)
old-commit-hash: 5198457ca0364b011d5a34e81b459be52fe4e55d
2020-06-18 17:50:01 -07:00
Erich Moraga 3d04aaed84 Added 2020 RX350 fwdRadar f/w x018821F3301100 (#1739)
@ottopilot#7631 DongleID/route 3a5c5101bd71ad5d|2020-06-18--16-56-51
old-commit-hash: 853dfcd59ace1e7ee2f13b45403af94065fd921f
2020-06-18 15:38:19 -07:00
Adeeb Shihadeh b32859413f hwType is in health
old-commit-hash: fd8514eee339e68df48c27711b79e90cbca43f76
2020-06-18 15:37:21 -07:00
Adeeb Shihadeh a8edabe453 if sky visible
old-commit-hash: e892d6a9d9efa624ae486d6c8449a452fd1286ee
2020-06-18 14:40:57 -07:00
Adeeb Shihadeh fb4bdf8c24 update no GPS alert for comma two users
old-commit-hash: b3101998ed6457e83e326f87be9f062ac97c0030
2020-06-18 13:01:28 -07:00
Adeeb Shihadeh 304d893af6 GM cleanup + ignition fix (#1729)
* small cleanup

* alertmanager handles that

* improve tuning

* below steer speed

* Revert "improve tuning"

This reverts commit 5d2de147d2c9979af09b7964ad59e4b95ddb2f2a.

* bump panda

* update refs

* bump panda
old-commit-hash: 472fe6696278b4137466e401496d1561a799a0da
2020-06-18 12:24:47 -07:00
eFini 92fa40ee8a remove dpulicated firmware id, already existed 3 lines above (#1736)
old-commit-hash: ee2f60f1cc1d95ba7b4288af143fc6f7132ab728
2020-06-18 08:31:42 -07:00
Scott Adair 82e6650743 ESP Firmware for Hyundai Palisade (#1728)
old-commit-hash: dbc609b240e598b06aec82c25d761d18d9c022ee
2020-06-16 18:35:42 -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
Jason Young 266130770f modeld process time logging to DEBUG (#1720)
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 80101b350b1f3de13d546bc0a45874e8132de2db
2020-06-16 10:36:04 -07:00
Willem Melching d2f2854488 Add Accord FW version
old-commit-hash: f418794e40798f7c4a1b6a1496878d755bd2746c
2020-06-15 18:53:09 -07:00
Adeeb Shihadeh b16559c4a0 Block entry on non-adaptive cruise mode (#1708)
* block entry on non-adaptive cruise mode

* user disable

* toyota
old-commit-hash: 25688f36cc16f4a4ce57e2e6d7a5c33e78cd520f
2020-06-15 18:11:50 -07:00
Willem Melching e7a7bf0898 update ref
old-commit-hash: ed7e568b70d1de79cf741d8de4a9a79991c7239c
2020-06-15 17:55:03 -07:00
HaraldSchafer 57d50ba0b6 save bad calib too for display (#1678)
old-commit-hash: 637eecc2b26a6137a3415231183be54be448e638
2020-06-15 17:20:49 -07:00
HaraldSchafer c26f15d608 need to do something about the valid (#1713)
old-commit-hash: 2afe22481348920d490daad32be1ce9898a7ab89
2020-06-15 17:20:31 -07:00
Adeeb Shihadeh 1dfa960485 bump cereal
old-commit-hash: 9e34ed4e8ccf624125177df4f3a8511d02115a86
2020-06-15 16:01:35 -07:00
Willem Melching 725c5e742f Modeld: loop over platforms to find CPU/GPU (#1710)
* Modeld: loop over platforms to find gpu

* Remove prints

* PC needs CPU

* Keep default for qcom

* Update error message
old-commit-hash: 4ca8283d739ab31e2fdbd2aeb658cb4f0d2e1bcc
2020-06-15 15:58:12 -07:00
Dean Lee dffb9800ad Sound refactor (#1589)
* Soud refactor

* remove files from  files_common

* add timeout to set_volumn

* add param volume to init

* done

* test.cc

* fix typo

* add repeat param instead of loop

* revert submodule

* add member function currentSound

* remove function create_player from class member

* fix build error

fix repeat

* rename CHECK_RESULT to ReturnOnError

* set currentSound_ before posible err

* use std::map to initialize sound table

cleanup

cleanup

cleanup

fix bug in stop

change paramater name

* done

* remove function CreatePlayer, create player in init()

* resolve conflict

* remove sound test

* rebase

* remove whitespace

* Apply great review suggestion

* use player's SLVolumeItf interface to set volume

* use float

* leave the volume control the way it is
old-commit-hash: 8cacc14b3180e831ed4fa0782102f973efe8851f
2020-06-15 15:26:38 -07:00
Willem Melching e313efec3e dont conflate in ubloxd
old-commit-hash: 10cb6ab87ab812ada7c26d5b67d95a739d8d3b54
2020-06-15 13:31:28 -07:00
Adeeb Shihadeh e4f549c998 Hyundai Ioniq EV LTD (#1694)
* add ioniq

* bump panda

* test route

* bump pnada
old-commit-hash: 224672705c6bc5e7476275648813d39e17d3e476
2020-06-15 11:45:37 -07:00
Dean Lee 70b4f7858e remove duplite #include (#1697)
old-commit-hash: 981a166a7c8e2305870993480b9804ba2420319b
2020-06-14 08:31:36 -07:00
Erich Moraga 7902dc33e0 Added C-HR Hybrid engine f/w (#1695)
@joxaarol#2418's 2020 C-HR Hybrid DongleID b7087e3bfd3a9cf6
https://discord.com/channels/469524606043160576/524592892627517450/721373655174742086

I also alphanumerically sorted the engine firmwares as a best practice, and to be consistent.
old-commit-hash: 3316e19aa4c905d4ab2d2c414bb14817649c6729
2020-06-13 08:36:29 -07:00
Adeeb 1cba78d535 Add hyundai legacy safety mode (#1693)
old-commit-hash: 437b974505a80011352bfa636e14445cea8c87c7
2020-06-12 20:55:59 -07:00
Adeeb Shihadeh f008dc9f61 bump cereal
old-commit-hash: 92c29c426916765b3af8d976a62502ece295f39e
2020-06-12 20:38:45 -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
Willem Melching 4d4c3f021b Cool down device before going onroad if CPU temp over 75 C (#1688)
* Block going onroad when temperatures are too high

* add relay check
old-commit-hash: 955d2aefdd6dd0c4de4820175a18f67c81be6783
2020-06-12 15:03:32 -07:00
Willem Melching c25d71dd31 update process replay after sonata stiffness change
old-commit-hash: 2a12c653d51fd1a6d1c0e6f08dab624de65f6e2f
2020-06-12 13:20:54 -07:00