Adeeb Shihadeh
47a42ff432
bump version to 0.7.10
5 years ago
Dean Lee
9983389ffe
close lock_fd if flock failed ( #2231 )
5 years ago
Dean Lee
9f34d1ff66
camerad: close file descriptors ( #2065 )
...
* close file descriptors
* fix struct indent
* add some new lines
5 years ago
Dean Lee
4fba3408c4
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
5 years ago
Dean Lee
6476207009
add function write_file() ( #2181 )
...
* add function write_file()
* handle EAGIN & EWOULDBLOCK
* don't handle errno
5 years ago
Dean Lee
58e5223aba
touch.c:deleting useless function ( #2208 )
5 years ago
Adeeb Shihadeh
0ebc037be7
turn display on in spinner ( #2148 )
...
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
Dean Lee
f71467b450
release copy_q in visionbuf_free ( #2121 )
5 years ago
Willem Melching
5c058140ed
tici: fix set_realtime_priority ( #2124 )
...
* cleanup and pin modeld to core 5
* Unused import
5 years ago
Adeeb Shihadeh
349040d958
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
5 years ago
robbederks
37d6472bfa
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>
5 years ago
ZwX1616
3014280d1a
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>
5 years ago
robbederks
622e42d504
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>
5 years ago
Dean Lee
71eedbce44
Remove unnecessary string copy ( #2067 )
5 years ago
Dean Lee
17dd07e751
visionstream: fix doube fd close ( #2057 )
...
* s->ipc_fd counld be closed twice
* white space
5 years ago
Dean Lee
f8ab6bd009
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
5 years ago
Dean Lee
963c00db09
fd should be initialized as -1 ( #2041 )
5 years ago
Adeeb Shihadeh
86dc54b836
bump version to 0.7.9
5 years ago
Dean Lee
d158837617
add function cl_get_device_id ( #1948 )
...
* add func cl_get_device_id
cleanup
* add fix from review
5 years ago
Willem Melching
502cc665e0
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>
5 years ago
Dean Lee
681ff41261
remove selfdrive/common/visionstream.c ( #1931 )
5 years ago
Adeeb Shihadeh
2189fe8741
bump to 0.7.8
5 years ago
Adeeb Shihadeh
eb1aa3d831
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>
5 years ago
George Hotz
b62da571b4
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>
5 years ago
George Hotz
f1caed7299
0.8 is a lie
5 years ago
Dean Lee
a64f0119e0
Fix resource leak in visionbuf_free ( #1699 )
...
* fix resource leak in visionbuf_free
* add mmap_len to VisionBuf
5 years ago
George Hotz
344a9a3699
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>
5 years ago
Dean Lee
b678449707
use malloc ( #1674 )
5 years ago
Willem Melching
ceba6fc675
Set brightness takes an int
5 years ago
Willem Melching
431690be1e
Move helper function definition to top of file
5 years ago
Dean Lee
8ad1135e80
add set_brightness in framebuffer.h ( #1659 )
5 years ago
Dean Lee
90d97de74d
add function read_db_bytes ( #1662 )
5 years ago
George Hotz
7770041f92
Getting PC openpilot working again ( #1650 )
...
* fixup keras_runner to work and be nicer
* truncate the lane lines based on the valid len
5 years ago
Jason Young
68531b071c
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>
5 years ago
Adeeb
7666d99694
Remove common/messaging.h ( #1635 )
...
* remove common/messaging.h
* release files
5 years ago
Adeeb Shihadeh
3463f1165e
quick LGTM fixes
5 years ago
Willem Melching
63c8e8439b
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>
5 years ago
George Hotz
f19d25dd8d
calloc an extra byte in read_file
5 years ago
Adeeb
ab83e48ec4
Add pre-commit hooks ( #1629 )
5 years ago
Willem Melching
106cddb49a
White panda no longer supported
5 years ago
Willem Melching
ea74edf71b
Bump version to 0.8.0
5 years ago
Willem Melching
69aacd9d17
bump version to 0.7.6
5 years ago
Dean Lee
3349b5b3be
use test_bit to determining if a device is a touchscreen ( #1389 )
5 years ago
robbederks
71bebc4fca
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
5 years ago
Adeeb
46f3665279
Move swaglog to cpp + remove another lib ( #1470 )
5 years ago
George Hotz
d5ca841b0f
Revert "Bypass alignment related copy whenever possible ( #1443 )"
...
This reverts commit b225016628
.
5 years ago
George Hotz
e568d3cadc
More LGTM fixups ( #1457 )
...
* exclude lib dirs, fix 3 cpp errors
* fix more alerts, exclude mkvparse
Co-authored-by: George Hotz <geohot@gmail.com>
5 years ago
Dean Lee
b225016628
Bypass alignment related copy whenever possible ( #1443 )
...
remove blank lines
add file messagehelp.h
remove blank line
simplify
after review
5 years ago
Dean Lee
35362965d6
cltuil.c:fix build warning ( #1419 )
5 years ago
Dean Lee
25ab2521ab
fixes the error with OpenCL depreciation warnings ( #1394 )
5 years ago