Commit Graph

99 Commits

Author SHA1 Message Date
Adeeb Shihadeh
0fe01be1b7 bump to 0.7.8
old-commit-hash: 2189fe8741
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: eb1aa3d831
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: b62da571b4
2020-06-29 13:54:23 -07:00
George Hotz
afbe8e36c0 0.8 is a lie
old-commit-hash: f1caed7299
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: a64f0119e0
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: 344a9a3699
2020-06-11 18:21:59 -07:00
Dean Lee
ebf60a16ad use malloc (#1674)
old-commit-hash: b678449707
2020-06-11 18:06:47 -07:00
Willem Melching
14881ace78 Set brightness takes an int
old-commit-hash: ceba6fc675
2020-06-10 12:42:00 -07:00
Willem Melching
b7ae2df26b Move helper function definition to top of file
old-commit-hash: 431690be1e
2020-06-10 11:41:45 -07:00
Dean Lee
0f9202c4b7 add set_brightness in framebuffer.h (#1659)
old-commit-hash: 8ad1135e80
2020-06-10 10:28:18 -07:00
Dean Lee
5fb85ede56 add function read_db_bytes (#1662)
old-commit-hash: 90d97de74d
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: 7770041f92
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: 68531b071c
2020-06-05 17:09:41 -04:00
Adeeb
16c0bc99b2 Remove common/messaging.h (#1635)
* remove common/messaging.h

* release files
old-commit-hash: 7666d99694
2020-06-05 12:46:49 -07:00
Adeeb Shihadeh
f69483e094 quick LGTM fixes
old-commit-hash: 3463f1165e
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: 63c8e8439b
2020-06-04 18:57:25 -07:00
George Hotz
69678ee181 calloc an extra byte in read_file
old-commit-hash: f19d25dd8d
2020-06-03 14:22:45 -07:00
Adeeb
d035394ce7 Add pre-commit hooks (#1629)
old-commit-hash: ab83e48ec4
2020-06-03 12:54:49 -07:00
Willem Melching
168ac65d9e White panda no longer supported
old-commit-hash: 106cddb49a
2020-05-31 13:33:56 -07:00
Willem Melching
60f8bb0188 Bump version to 0.8.0
old-commit-hash: ea74edf71b
2020-05-31 13:31:44 -07:00
Willem Melching
5cbaf497f7 bump version to 0.7.6
old-commit-hash: 69aacd9d17
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: 3349b5b3be
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: 71bebc4fca
2020-05-08 19:39:18 -07:00
Adeeb
b1cbd898f1 Move swaglog to cpp + remove another lib (#1470)
old-commit-hash: 46f3665279
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: d5ca841b0f
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: e568d3cadc
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: b225016628
2020-05-01 19:21:00 -07:00
Dean Lee
5693055806 cltuil.c:fix build warning (#1419)
old-commit-hash: 35362965d6
2020-04-24 07:13:43 -07:00
Dean Lee
83fde61d3b fixes the error with OpenCL depreciation warnings (#1394)
old-commit-hash: 25ab2521ab
2020-04-19 14:04:33 -07:00
Dean Lee
ea0392cc2a close file descriptor (#1353)
* close file descriptor

* check return value
old-commit-hash: 2fc3247343
2020-04-13 15:09:48 -07:00
George Hotz
f5078e87bc tici: add (somewhat) broken camerad support (#1300)
* capnparm

* building in progress

* scons build works

* that script fixes opencl

* start new camera code

* includes and more camera scripts

* control c works now

* no device control yet

* phy too

* just one camera for now

* fix capnparm

* hmm, the inits are needed

* more cameras

* link stop start

* doesn't work yet

* fix ion on qcom2

* start poll ish

* 4 pictures and done

* no jpeg

* it works to picture

* destroy sync obj

* both work for now

* defined QCOM2

* fix fd leak

* run modeld

* 10 bit mode

* real frame stride

* needs digital gain

* dnew

* no color correcting on new

* that snpe doesn't work

* qcom2 gate

* cleanups

* oops, fix aarch64 detector

* update cereal

* modeld works with SNPE

* fix driver monitoring model

Co-authored-by: Tici <robbe@comma.ai>
old-commit-hash: 8db0993663
2020-03-31 16:34:55 -07:00
Willem Melching
9d08a97e7e Bump version to 0.7.5
old-commit-hash: 8abc0afe46
2020-03-30 12:33:25 -07:00
Andy Haden
4abb80c9d6 Remove legacy AccessToken param
old-commit-hash: 538ca733c7
2020-03-23 00:22:41 -07:00
Willem Melching
e29dfc6b2c Bump version to 0.7.4
old-commit-hash: e93649882c
2020-02-20 16:24:48 -08:00
Willem Melching
a3ceb75aad Bump version.h
old-commit-hash: d7acd8b68f
2020-02-17 16:27:41 -08:00
George Hotz
bc50dccf97 Fix ui on mac (#1044)
* remove line_shader dead code

* fix glfwCreateWindow

* don't assert on ipc socket failure

* window now appears on mac

old-commit-hash: 811b3b7a9a
2020-02-02 22:19:26 -08:00
George Hotz
b846f88ade Support scons build on Mac (#1034)
* fix clock and add Darwin sconstruct

* it builds, this changes should be simplifications too

* fix boardd build

* that's the real type of EGLClientBuffer

* remove extra lines

* ui needs opencl on phone

old-commit-hash: f72f78f2b9
2020-02-01 23:36:50 -08:00
George Hotz
189c815e8f selfdrive/common
old-commit-hash: 368a956b96
2020-01-17 11:01:02 -08:00
George Hotz
81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher
fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c
2020-01-15 14:05:04 -08:00
Vehicle Researcher
99b637c7ce openpilot v0.7 release
old-commit-hash: c025b96e8a
2019-12-13 13:03:08 -08:00
Willem Melching
5b96607730 Make visiond compile on pc (#874)
old-commit-hash: d20896ced5
2019-11-08 12:49:30 -08:00
Vehicle Researcher
b713eae9f8 openpilot v0.6.6 release
old-commit-hash: d7f0b402a8
2019-11-04 15:13:52 -08:00
Vehicle Researcher
89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28b
2019-10-09 18:43:53 +00:00
Willem Melching
c8d3353845 Add spinner source files (#812)
old-commit-hash: 5cfc0be5cb
2019-09-17 12:47:30 -07:00
Vehicle Researcher
dfe603c178 openpilot v0.6.4 release
old-commit-hash: 61229779e4
2019-09-09 23:03:02 +00:00
Vehicle Researcher
02cedeadd9 openpilot v0.6.3 release
old-commit-hash: d5f9caa82d
2019-08-13 01:36:45 +00:00
Vehicle Researcher
3835061760 openpilot v0.6.2 release
old-commit-hash: e90c41c576
2019-07-30 02:27:48 +00:00
Vehicle Researcher
07aa8b1bf3 openpilot v0.6.1 release
old-commit-hash: 94053536b4
2019-07-22 19:17:47 +00:00
Vehicle Researcher
9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f
2019-06-28 21:11:30 +00:00