Adeeb Shihadeh
37529e23a9
bump version to 0.7.10
...
old-commit-hash: 47a42ff432db8a2494e922ca5e767e58020f0446
2020-10-03 14:51:47 -07:00
Dean Lee
63c8162fd3
close lock_fd if flock failed ( #2231 )
...
old-commit-hash: 9983389ffebe3383736111b0b4ad762aa9ef580b
2020-09-28 11:47:38 +02:00
Dean Lee
f57c4d3052
camerad: close file descriptors ( #2065 )
...
* close file descriptors
* fix struct indent
* add some new lines
old-commit-hash: 9f34d1ff662c7b84ce5e4561247d8751ef57adca
2020-09-24 13:39:27 -07:00
Dean Lee
f5ec24f42f
Params: use a multiple-reader / single-writer flock to improve concurrency ( #2207 )
...
* improve concurrency: multiple readers, single writer locks
* remove lock in read_db_value
old-commit-hash: 4fba3408c41fad12a75533cf189686601f9e49a6
2020-09-24 11:51:36 +02:00
Dean Lee
ef8b6d20fb
add function write_file() ( #2181 )
...
* add function write_file()
* handle EAGIN & EWOULDBLOCK
* don't handle errno
old-commit-hash: 64762070097884de48b7168ec337a96e3f03a07a
2020-09-21 16:10:38 +02:00
Dean Lee
0392ecd4ca
touch.c:deleting useless function ( #2208 )
...
old-commit-hash: 58e5223aba4a16db42c1937f478ec7d54e28813b
2020-09-21 11:43:54 +02:00
Adeeb Shihadeh
6aebe5fa2a
turn display on in spinner ( #2148 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0ebc037be7a41ad8a42f157ef5c3368ab35062ec
2020-09-09 20:24:13 -07:00
Dean Lee
8de00af7f7
release copy_q in visionbuf_free ( #2121 )
...
old-commit-hash: f71467b4504292dff6d49553baeb6f068ba99471
2020-09-02 21:11:25 -07:00
Willem Melching
e5f5cdaccf
tici: fix set_realtime_priority ( #2124 )
...
* cleanup and pin modeld to core 5
* Unused import
old-commit-hash: 5c058140edb5678cfc31e5103e57cdb5d1c11305
2020-09-02 17:52:41 +02:00
Adeeb Shihadeh
91ac4efab2
driver monitoring cleanup ( #2101 )
...
* read rhd from param
* don't need that anymore
* fix build
* bump cereal
* read param from camerad too
* add read_db_bool helper
* bump model replay ref commit, IsRHD wasn't set
old-commit-hash: 349040d9580bf7c9b98273dd2745fc4b147d3254
2020-08-29 17:16:00 -07:00
robbederks
7671d18467
Tici camerad ( #2048 )
...
* fix camera config
* typos
* oops
* more typo
* lambless
* forget to send
* visualize hist
* more typo
* 0xC000
* simple
* data loss prevention, clean up later
* loggerd
* back up code
* backup
* fixed memory leak
* fix vsync
* upload ecam
* WB
* 3stream
* fix OMX crash on loggerd rotation
* rewritten debayer kernel
* update viewer
* improved AE
* no artifact lines/grids
* standard trigger
* cleanups
* CCM
* cleanups
* slight tweak
* upd push sock
* build all these
* update tele fl
* update cereal
* upd viewer
* DualCameraState -> MultiCameraState
* cameras_open
* disable frame zmq push by default
* more cleanup
* no apks
* fix submodule error
* wat
* clean up trash
* remove junk
* only build on qcom2
* no need to check these
* update cereal
* some more minor cleanup
* bump panda
* add todo
* minor typo
* Revert "minor typo"
This reverts commit 9233a1df7cac214fae6827cdae3a10cb3bd060d9.
* not care
* use consistent hdr
* some cleanup
* Update selfdrive/camerad/main.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* more cleanups
* remove irrelevant stuff
* this too
* cleanup
* rerun ci
Co-authored-by: ZwX1616 <zwx1616@gmail.com >
Co-authored-by: Tici <robbe@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 37d6472bfa1c0ef9f1f8353162b97444ca66e45c
2020-08-26 19:59:56 -07:00
ZwX1616
06439bef18
Fix OMX error on loggerd rotation when using multiple cameras ( #1953 )
...
* cherry pick from f8745d3002afe1acd8b740c8421992f1a459b59d
* update cereal
* missed this line
* add enum
* Update selfdrive/loggerd/loggerd.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update selfdrive/loggerd/loggerd.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* use same logroot
Co-authored-by: Tici <robbe@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 3014280d1a7369c0d1f1f4b5bbc7553e656fe8af
2020-08-26 15:02:51 -07:00
robbederks
c09e7f04e7
Tici sensord ( #2072 )
...
* tici sensord: WIP
* add sensor constants
* rename files
* base class
* init sensors
* publish something
* dont leak memory
* try reading from accel
* Accel works
* add time and sensor source
* Update release files
* If we want low BW we want 125hz
* this should run gyro as well
* add filter on gyro
* also filter accel data
* Add i2c files
* cast makes macos unhappy
* Same outputs as android sensord
Co-authored-by: Tici <robbe@comma.ai >
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 622e42d504458ebfbb23e945beb1a60bbfd0e63b
2020-08-26 11:30:30 +02:00
Dean Lee
ed31f8aaa5
Remove unnecessary string copy ( #2067 )
...
old-commit-hash: 71eedbce44b9239d05c3309a6f85c3c8abbb3908
2020-08-24 09:25:16 -07:00
Dean Lee
4c0da02183
visionstream: fix doube fd close ( #2057 )
...
* s->ipc_fd counld be closed twice
* white space
old-commit-hash: 17dd07e751a7fd3f4fe62811614b41ce9650811a
2020-08-24 14:07:27 +02:00
Dean Lee
ebd4f68cba
ui: refactor model related functions ( #2026 )
...
* remove read_model
* remove structs for c-capnp
* remove duplicate #define from modeld
* add function fill_path_points
* fix Indentation
* use MODEL_PATH_DISTANCE instead of 192
* fix type
use validLen
* rename left_path_points&right_path_points to xxx_lane_points
old-commit-hash: f8ab6bd009410a9f7ab9c30ce7b72a82c6d2507b
2020-08-18 15:26:43 +02:00
Dean Lee
bccaaeb3fa
fd should be initialized as -1 ( #2041 )
...
old-commit-hash: 963c00db09554e71264b699a99c9a705c80c99d8
2020-08-18 15:22:26 +02:00
Adeeb Shihadeh
0fac431c58
bump version to 0.7.9
...
old-commit-hash: 86dc54b836a973f132ed26db9f5a60b29f9b25b2
2020-08-17 12:49:08 -07:00
Dean Lee
bf750511a1
add function cl_get_device_id ( #1948 )
...
* add func cl_get_device_id
cleanup
* add fix from review
old-commit-hash: d1588376171d8ba1d2ec1b670e085d6e15bd26c1
2020-08-17 11:24:39 +02:00
Willem Melching
938ce91d02
Pigeon abstraction layer ( #1977 )
...
* pigeon abstraction layer
* Fix string literals
* more generic pigeon class
* add TTYpigon
* nicer tty error handling
* close tty fd on pigeon delete
* pigeon receive return std::string
* use sizeof
* max receive size to prevent infinite loop
* remove namespace
* add unistd include for usleep
* fix is pigeon
* Handle tty error in opening
* fix printing binary strings with dump.py
* fix pigeon build on macos
* Handle errors seperately
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 502cc665e0bad89eba0b1c344c2f4f580b153ae1
2020-08-13 10:10:50 +02:00
Dean Lee
d4f99896e3
remove selfdrive/common/visionstream.c ( #1931 )
...
old-commit-hash: 681ff41261eddc0962c9346e8aa7a019e293d691
2020-08-03 17:04:47 -07:00
Adeeb Shihadeh
0fe01be1b7
bump to 0.7.8
...
old-commit-hash: 2189fe8741b635d8394d55dee28959425cfd5ad0
2020-07-20 11:47:26 -07:00
Adeeb Shihadeh
cdfb090c7a
Wunused ( #1841 )
...
* enable Wunused, first pass
* unused stuff in snpe model
* these are used on phone
* handle sigint and sigterm in modeld
* fix phone build
* camera qcom
* QCOM build works
* delete unused camerad vars
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: eb1aa3d831fd0d7fffd9aacec1accb0a5bdb0304
2020-07-09 09:25:32 -07:00
George Hotz
ada8359180
UI 10x speedup with hardware antialias ( #1787 )
...
* enable MSAA, disable nvg antialias
* less opaque and clean up
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: b62da571b4108487cfc4d2dbd1970a504ba0a317
2020-06-29 13:54:23 -07:00
George Hotz
afbe8e36c0
0.8 is a lie
...
old-commit-hash: f1caed7299cdba5e45635d8377da6cc1e5fd7072
2020-06-24 16:02:03 -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
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
Dean Lee
ebf60a16ad
use malloc ( #1674 )
...
old-commit-hash: b678449707ae69b593f0f9b3f8600c7efa3c040a
2020-06-11 18:06:47 -07:00
Willem Melching
14881ace78
Set brightness takes an int
...
old-commit-hash: ceba6fc6754b73c8fff114a45001b8d1fd5cbd2b
2020-06-10 12:42:00 -07:00
Willem Melching
b7ae2df26b
Move helper function definition to top of file
...
old-commit-hash: 431690be1e0843eda72a7e703344d7a2d20f12fd
2020-06-10 11:41:45 -07:00
Dean Lee
0f9202c4b7
add set_brightness in framebuffer.h ( #1659 )
...
old-commit-hash: 8ad1135e80f93b19bb2f0a6b4c7531a9b5eb7d8a
2020-06-10 10:28:18 -07:00
Dean Lee
5fb85ede56
add function read_db_bytes ( #1662 )
...
old-commit-hash: 90d97de74ddc4672b35a5186e868794468a44345
2020-06-09 13:46:49 -07:00
George Hotz
4b6c80336b
Getting PC openpilot working again ( #1650 )
...
* fixup keras_runner to work and be nicer
* truncate the lane lines based on the valid len
old-commit-hash: 7770041f9201c4f84717435b7a585fd70a937923
2020-06-05 17:40:56 -07:00
Jason Young
ebed52527b
Reduce scheduler latency for realtime processes ( #1638 )
...
* WIP: reduce boardd and other lags
* Copypasta fault
* Silence spurious startup warning
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 68531b071cde6fa5856d9b68bed63ecb50e03c2a
2020-06-05 17:09:41 -04:00
Adeeb
16c0bc99b2
Remove common/messaging.h ( #1635 )
...
* remove common/messaging.h
* release files
old-commit-hash: 7666d99694615f0a4a960e0b739018c4628ffa50
2020-06-05 12:46:49 -07:00
Adeeb Shihadeh
f69483e094
quick LGTM fixes
...
old-commit-hash: 3463f1165e5546f8c8054e8dcedc830607ad643b
2020-06-05 11:29:09 -07:00
Willem Melching
ce6dd8d4e9
Model + camerad test ( #1622 )
...
* kind of works
* move that
* hack to get camerad to reliably terminate
* not sure why SIGTERM wasn't working before
* compare bytes
* clean up some hacks
* gitignore
* fix that
* WIP
* no reboot
* comparison works
* pretty print
* fix build
* run in jenkins
* python path
* space
* raise timeout
* new eon
* skip the copy
* spinner
* spin less
* update model ref commit
* reenable that
* clean up
* fix jenkinsfile
* parallel
* wrap it in a stage
* fix linter
* better progress
* lower timeout
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 63c8e8439b6d19020055f922340d8e33d906363a
2020-06-04 18:57:25 -07:00
George Hotz
69678ee181
calloc an extra byte in read_file
...
old-commit-hash: f19d25dd8d3e521fab82195027cc08cd08cb80d8
2020-06-03 14:22:45 -07:00
Adeeb
d035394ce7
Add pre-commit hooks ( #1629 )
...
old-commit-hash: ab83e48ec4f7c7ddaa742d9797b0d38646fdb268
2020-06-03 12:54:49 -07:00
Willem Melching
168ac65d9e
White panda no longer supported
...
old-commit-hash: 106cddb49a3c60449a0413ff28dbbe50479c43bf
2020-05-31 13:33:56 -07:00
Willem Melching
60f8bb0188
Bump version to 0.8.0
...
old-commit-hash: ea74edf71be344b09eb9c5802405ef9aefc6b614
2020-05-31 13:31:44 -07:00
Willem Melching
5cbaf497f7
bump version to 0.7.6
...
old-commit-hash: 69aacd9d179fe6dd3110253a099c38b34cff7899
2020-05-13 16:13:38 -07:00
Dean Lee
b53eaeffce
use test_bit to determining if a device is a touchscreen ( #1389 )
...
old-commit-hash: 3349b5b3bed9bfd8ab1a20935fc1cd18a630d3ad
2020-05-11 15:30:22 -07:00
robbederks
5a12fc32e7
Ambient light calibration parameters on persist partition ( #1429 )
...
* WIP: light sensor persistent params
* fix params writing
* Persistent params argument in C params lib. Fixed symlink flow
* Removed debug prints
* fix boardd
* fix ui
* remove debug print
old-commit-hash: 71bebc4fca91681669c86b5600b67bf2b7f899bf
2020-05-08 19:39:18 -07:00
Adeeb
b1cbd898f1
Move swaglog to cpp + remove another lib ( #1470 )
...
old-commit-hash: 46f3665279222ce53333a8c001def1b2a8e32926
2020-05-08 14:46:10 -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
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
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
5693055806
cltuil.c:fix build warning ( #1419 )
...
old-commit-hash: 35362965d6a795c3cbc9c558d3686cf1c8a7877c
2020-04-24 07:13:43 -07:00
Dean Lee
83fde61d3b
fixes the error with OpenCL depreciation warnings ( #1394 )
...
old-commit-hash: 25ab2521abb08e58b80f45f16ff51f949e28f05c
2020-04-19 14:04:33 -07:00