Commit Graph

22 Commits

Author SHA1 Message Date
Willem Melching 23363890cd We need that to filter out loopback bus 2020-04-23 12:19:46 -07:00
Willem Melching 559e3aa8a0 replay many update 2020-04-22 15:03:37 -07:00
Willem Melching 02e474580e Release messaging sockets and context on shutdown (#1391)
* release resources when thread is done

* add white space

* add white space

Co-authored-by: deanlee <deanlee3@gmail.com>
2020-04-17 16:37:34 -07:00
Dean Lee 5967690499 fix build warning: libusb_set_debug is deprecated (#1383)
* fix build warning:libuse_set_debug is deprecated

* use enum LIBUSB_LOG_LEVEL_INFO(3)
2020-04-17 13:39:42 -07:00
Dean Lee dd05d1df83 close usb handle after faile (#1352) 2020-04-13 15:10:47 -07:00
Willem Melching fc10fe69bf handle nak error in replay many 2020-04-13 13:02:18 -07:00
Willem Melching 7d54453f04 No hardcoded bitset size 2020-04-09 13:45:18 -07:00
Willem Melching f718ceafd5 Populate health.faults from panda health packet 2020-04-09 13:43:00 -07:00
Willem Melching 64f6e0c1d1 Init mutex just to be safe 2020-04-08 14:09:24 -07:00
Willem Melching 7ea2524b6f openpilot support for panda nak (#1324) 2020-04-06 16:49:37 -07:00
Willem Melching b16e11cde5 Boardd should always send health, even with no panda (#1322)
* dont go offroad when health times out

* always send health packet

* Handle disconnect in thermal

* Handle unplug in power monitoring

* Small cleanup

* Remove copied code

* Add mutex

* Can just use infinite timeout. It will still return if not connected
2020-04-06 16:01:42 -07:00
DeanLee 9bcd5faa70 Fix memory leak in boardd.cc (#1321)
* fix memory leak

* dd
2020-04-06 09:13:34 -07:00
George Hotz 8db0993663 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>
2020-03-31 16:34:55 -07:00
Shane Smiskol 6ff881f789 initialize all messages in 1 line (#1206) 2020-03-05 17:32:52 -08:00
Adeeb e8cb6ea06a Abstract common events + event cleanup (#1129)
* too many if

* unused

* whitespace

* key

* sefldrive/car/*

* no more gctx

* lower

* start abstracting common events

* all cars

* start small

* all cars

* reverse gear

* wrongCarMode

* wrongGear

* espDisabled

* steerUnvailable

* make linter happy

* c isn't used

* fix esp_disabled in VW

* update ref

* more red

* more cleanup

* fix subaru

* update ref
2020-02-20 16:22:25 -08:00
George Hotz 858c992bda Disable Power Down option for desk devices (#1117)
* './params.py DisablePowerDown 1' to use

* fix issues
2020-02-18 11:48:04 -08:00
robbederks d0c1f9a864 Added hw status to ublox test scripts and ubloxGnss packet (#1054)
* Added hw status to ublox test scripts and ubloxGnss packet

* Added extra config to boardd

* Implemented new ublox message handler in ubloxd

* Fixed debug text

* Added some explanation and cereal bump
2020-02-05 11:12:03 -08:00
George Hotz f72f78f2b9 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
2020-02-01 23:36:50 -08:00
Comma Device 58262bac9d use proper timeout on frontFrame to turn off IR leds 2020-01-30 15:52:27 -08:00
Willem Melching 4dac1128f1 Only ignition_last is global 2020-01-30 13:53:19 -08:00
Willem Melching 3a65206c8d Disable IR leds when no ignition detected 2020-01-30 13:42:40 -08:00
George Hotz ef93a715e1 selfdrive/boardd 2020-01-17 10:51:01 -08:00