Commit Graph

19 Commits

Author SHA1 Message Date
Adeeb Shihadeh 82bca3a971
add --minimal build flag (#523)
* add --minimal build flag

* update that
2023-08-24 14:00:32 -07:00
Maxime Desroches aed9fd278a
Update pycapnp (#499)
* context

* cython

* -Wno-parentheses-equality

* -Wno-everything

* remove werror
2023-07-18 13:09:49 -07:00
Adeeb Shihadeh 938f57635e
CI: run tests with sanitizers (#438)
* matrix

* add ubsan

* named
2023-04-28 15:08:57 -07:00
Adeeb Shihadeh 6e58b293ee
include from project root (#402) 2022-12-31 14:19:29 -08:00
Adeeb Shihadeh 1b342ce4e0 cleanup comma two stuff 2022-04-19 10:58:17 -07:00
Mayfield d46f37c314
fix wshadow errors (#214)
* fix wshadow errors

* ignore cython
2021-11-02 14:23:08 +01:00
Adeeb Shihadeh 77142a4e7a
visionipc: add cython client (#193) 2021-08-29 22:00:09 -07:00
Willem Melching aa2a1e9d80
Improve VisionIPC error handling (#184)
* add return values to visionbuf

* add mock logger and log prints

* add logging to server

* unused

* link in common
2021-07-29 10:32:29 +02:00
Adeeb Shihadeh 3ef74b4d99 remove QCOM_REPLAY 2021-05-28 19:43:58 -07:00
Adeeb Shihadeh 90ce0e954f
builds on m1 (#137) 2021-05-02 10:34:00 -07:00
Comma Device 7d304cdd29 cleanup in the post-apk era 2021-04-10 14:24:10 -07:00
Willem Melching 95e32803cd
Visionipc v2.0 (#101)
* add visionbuf

make static

ignore that

* Needs decleration

* add test binary

* c++

* create some structure

* some impl

* socket stuff

* Accept socket connection

* Alloc some buffers

* Create pub sockets and send buffer id

* make listener private

* Implement receive

* use error check macros in cl_helpers

* constructors to pass in opencl context

* add some convenience values in struct

* refactor creating buffers

* rgb is not so simple

* add fake stride and expose buffers

* add comment

* add extra data struct

* support conflate

* init opencl on all buffers

* make ion compile

* fix qcom2

* correctly setup yuv pointers when importing buffer

* also included from c

* Remove send print statements

* send metadata

* reveive metadata

* also used in c code

* dont start listener automatically

* Was started in 2 places

* set 100ms timeout on socket

* verify server id to detect reconnects

* handle reconnect

* buffer cleanup

* let user handle opencl creation

* add default values

* Add support for aligned rgb buffers

* add align macro

* dont use namespace

* use poller

* apple ifdef in ipc.cc

* VisionBuf is C++ class

* Install opencl headers

* cppcheck c++

* remove c header guard

* fix mac build

* simplify constructors

* Update visionipc/visionipc.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update visionipc/visionbuf_ion.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* add brackets

* s/VIPCBufExtra/VisionIpcBufExtra/g

* Add unittesting harness

* remove vipc demo

* very basic tests

* add conflate test

* Install opencl

* suppress msgq warnings

* Make it work using zmq

* cl in qcom replay

* run unittests in zmq mode as well

* non blocking connect

* always larger frame queues

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-08 14:54:41 +01:00
grekiki adcbc666b6
cython scons builder (#100)
* improve building

* numpy will probably not be needed

* remove unnedded lines

* guessing what static analysis wants to pass

* fix the test by removing it

* Update __init__.py

* Update SConstruct

* Update SConscript

* style

* pre commit

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-11-25 17:14:50 -08:00
Adeeb Shihadeh 7234804834
ubuntu 16.04 -> 20.04 (#97)
* ubuntu 20.04

* non interactive

* fix src prefix
2020-10-24 00:07:24 -07:00
Willem Melching 5c7e91abb7
c++17 (#95)
* c++17

* 1z
2020-10-17 12:40:42 -07:00
Adeeb Shihadeh 7b78cda876 rebuild cython extensions when python/cython/distuils change 2020-07-16 13:33:19 -07:00
Adeeb Shihadeh f35491f0c5 enable -Wunused 2020-07-08 16:03:57 -07:00
Adeeb Shihadeh 4e3541ae43 turn on -Werror to match openpilot 2020-06-27 17:23:19 -07:00
Willem Melching 52c6db8719
Run scons in CI (#14)
* try to run scons in azure pipelines

* sudo

* install capnp

* does this run

* also clean test runner

* remove makefiles

* this should build
2019-11-20 16:32:42 -08:00