Adeeb Shihadeh
37529e23a9
bump version to 0.7.10
...
old-commit-hash: 47a42ff432
5 years ago
Dean Lee
63c8162fd3
close lock_fd if flock failed ( #2231 )
...
old-commit-hash: 9983389ffe
5 years ago
Dean Lee
f57c4d3052
camerad: close file descriptors ( #2065 )
...
* close file descriptors
* fix struct indent
* add some new lines
old-commit-hash: 9f34d1ff66
5 years ago
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: 4fba3408c4
5 years ago
Dean Lee
ef8b6d20fb
add function write_file() ( #2181 )
...
* add function write_file()
* handle EAGIN & EWOULDBLOCK
* don't handle errno
old-commit-hash: 6476207009
5 years ago
Dean Lee
0392ecd4ca
touch.c:deleting useless function ( #2208 )
...
old-commit-hash: 58e5223aba
5 years ago
Adeeb Shihadeh
6aebe5fa2a
turn display on in spinner ( #2148 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0ebc037be7
5 years ago
Dean Lee
8de00af7f7
release copy_q in visionbuf_free ( #2121 )
...
old-commit-hash: f71467b450
5 years ago
Willem Melching
e5f5cdaccf
tici: fix set_realtime_priority ( #2124 )
...
* cleanup and pin modeld to core 5
* Unused import
old-commit-hash: 5c058140ed
5 years ago
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: 349040d958
5 years ago
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 9233a1df7c
.
* 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: 37d6472bfa
5 years ago
ZwX1616
06439bef18
Fix OMX error on loggerd rotation when using multiple cameras ( #1953 )
...
* cherry pick from f8745d3002
* 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: 3014280d1a
5 years ago
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: 622e42d504
5 years ago
Dean Lee
ed31f8aaa5
Remove unnecessary string copy ( #2067 )
...
old-commit-hash: 71eedbce44
5 years ago
Dean Lee
4c0da02183
visionstream: fix doube fd close ( #2057 )
...
* s->ipc_fd counld be closed twice
* white space
old-commit-hash: 17dd07e751
5 years ago
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: f8ab6bd009
5 years ago
Dean Lee
bccaaeb3fa
fd should be initialized as -1 ( #2041 )
...
old-commit-hash: 963c00db09
5 years ago
Adeeb Shihadeh
0fac431c58
bump version to 0.7.9
...
old-commit-hash: 86dc54b836
5 years ago
Dean Lee
bf750511a1
add function cl_get_device_id ( #1948 )
...
* add func cl_get_device_id
cleanup
* add fix from review
old-commit-hash: d158837617
5 years ago
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: 502cc665e0
5 years ago
Dean Lee
d4f99896e3
remove selfdrive/common/visionstream.c ( #1931 )
...
old-commit-hash: 681ff41261
5 years ago
Adeeb Shihadeh
0fe01be1b7
bump to 0.7.8
...
old-commit-hash: 2189fe8741
5 years ago
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: eb1aa3d831
5 years ago
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: b62da571b4
5 years ago
George Hotz
afbe8e36c0
0.8 is a lie
...
old-commit-hash: f1caed7299
5 years ago
Dean Lee
a4695dc837
Fix resource leak in visionbuf_free ( #1699 )
...
* fix resource leak in visionbuf_free
* add mmap_len to VisionBuf
old-commit-hash: a64f0119e0
5 years ago
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: 344a9a3699
5 years ago
Dean Lee
ebf60a16ad
use malloc ( #1674 )
...
old-commit-hash: b678449707
5 years ago
Willem Melching
14881ace78
Set brightness takes an int
...
old-commit-hash: ceba6fc675
5 years ago
Willem Melching
b7ae2df26b
Move helper function definition to top of file
...
old-commit-hash: 431690be1e
5 years ago
Dean Lee
0f9202c4b7
add set_brightness in framebuffer.h ( #1659 )
...
old-commit-hash: 8ad1135e80
5 years ago
Dean Lee
5fb85ede56
add function read_db_bytes ( #1662 )
...
old-commit-hash: 90d97de74d
5 years ago
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: 7770041f92
5 years ago
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: 68531b071c
5 years ago
Adeeb
16c0bc99b2
Remove common/messaging.h ( #1635 )
...
* remove common/messaging.h
* release files
old-commit-hash: 7666d99694
5 years ago
Adeeb Shihadeh
f69483e094
quick LGTM fixes
...
old-commit-hash: 3463f1165e
5 years ago
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: 63c8e8439b
5 years ago
George Hotz
69678ee181
calloc an extra byte in read_file
...
old-commit-hash: f19d25dd8d
5 years ago
Adeeb
d035394ce7
Add pre-commit hooks ( #1629 )
...
old-commit-hash: ab83e48ec4
5 years ago
Willem Melching
168ac65d9e
White panda no longer supported
...
old-commit-hash: 106cddb49a
5 years ago
Willem Melching
60f8bb0188
Bump version to 0.8.0
...
old-commit-hash: ea74edf71b
5 years ago
Willem Melching
5cbaf497f7
bump version to 0.7.6
...
old-commit-hash: 69aacd9d17
5 years ago
Dean Lee
b53eaeffce
use test_bit to determining if a device is a touchscreen ( #1389 )
...
old-commit-hash: 3349b5b3be
5 years ago
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: 71bebc4fca
5 years ago
Adeeb
b1cbd898f1
Move swaglog to cpp + remove another lib ( #1470 )
...
old-commit-hash: 46f3665279
5 years ago
George Hotz
16cbb5e255
Revert "Bypass alignment related copy whenever possible ( #1443 )"
...
This reverts commit 235d4f8957ee4566d6217783638fa58a586bb35a.
old-commit-hash: d5ca841b0f
5 years ago
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: e568d3cadc
5 years ago
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: b225016628
5 years ago
Dean Lee
5693055806
cltuil.c:fix build warning ( #1419 )
...
old-commit-hash: 35362965d6
5 years ago
Dean Lee
83fde61d3b
fixes the error with OpenCL depreciation warnings ( #1394 )
...
old-commit-hash: 25ab2521ab
5 years ago