Commit Graph

14 Commits

Author SHA1 Message Date
Harald Schäfer 6d2cc6e222
Restructure cereal (#620)
* Dont want those here

* Move visionipc

* doesnt make sense for now

* Compiles

* Move rest over

* Somewhat works

* Add .sp

* Delete messaging/messaging_pyx.so

* Delete messaging/messaging_pyx.cpp

* ignore this too

* Not needed

* Add pyproj

* Fix zmq port
2024-06-06 13:58:15 -07:00
Adeeb Shihadeh 6e58b293ee
include from project root (#402) 2022-12-31 14:19:29 -08: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
Adeeb Shihadeh fe35cbe1dd gitignore tmp files 2020-11-30 16:30:24 -08:00
Willem Melching 8e2d212a3d
add pre-commit static analysis (#48) 2020-05-28 16:04:53 -07:00
George Hotz 21cf3f557e build on mac 2019-12-14 19:34:01 -08:00
Comma Device 57126a23d9 cereal_shared 2019-11-22 02:01:54 +00: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
Comma Device da2ed115e8 don't link the wrong one 2019-11-20 17:54:48 +00:00
Comma Device fe9fe2a200 scons builds the python lib now 2019-11-20 17:44:47 +00:00
Comma Device f8e5327781 bridge builds with services.h 2019-11-20 16:33:24 +00:00
Comma Device 7fd314afa4 update scons build file 2019-11-13 18:01:01 +00:00
Comma Device 64ce0b5f40 add scons build 2019-11-12 00:49:08 +00:00
George Hotz 74acf43066 initial commit, internal from 6/13/19 2019-06-13 12:06:15 -07:00