24 Commits

Author SHA1 Message Date
Justin Newberry
f01d677e1d CI: pylint to ruff (#512)
* pylint to ruff

* fix ruff
2023-08-07 15:55:35 -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
089f96117a bump to python 3.11.4 (#484)
* bump to python 3.11.4

* unpin

* use context

* pycapnp 1.1.0

* cmake

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-06-30 17:36:28 -07:00
Adeeb Shihadeh
6e58b293ee include from project root (#402) 2022-12-31 14:19:29 -08:00
Adeeb Shihadeh
75b3635cf1 update python to 3.8.10 2021-10-13 22:17:36 -07:00
Adeeb Shihadeh
80de759718 CI: update pre-commit (#205) 2021-10-05 14:39:40 -07:00
Adeeb Shihadeh
77142a4e7a visionipc: add cython client (#193) 2021-08-29 22:00:09 -07:00
Adeeb Shihadeh
2876bcc9d4 bump pycapnp 2021-03-11 20:04:35 -08:00
Adeeb Shihadeh
0a479189a6 update python to 3.8.5 2021-03-11 14:46:36 -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
d87b4bbef9 bump pycapnp 2020-10-29 13:14:53 -07: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
Adeeb Shihadeh
9cd1934a9c parallelize cython extension build 2020-08-02 13:26:44 -07:00
Adeeb Shihadeh
a91e43f09e Coverage analysis in CI (#75)
* coverage analysis in CI

* space

* coverage run

* name
2020-07-29 00:33:42 -07:00
Adeeb Shihadeh
06c7f72a2c Tests for lower level messaging functions (#73)
* start messaging tests

* test drain sock

* recv with retry

* test retry blocking

* fix zmq
2020-07-27 17:30:45 -07:00
Adeeb Shihadeh
29099e87a1 Update catch2 and move to Dockerfile (#71)
* update catch2 and download in dockerfile instead of checking in

* fix dockerfile

* fix path
2020-07-27 02:14:06 -07:00
Adeeb
d49ca496ae Docker layer caching in CI (#54)
* push to dockerhub

* build using cached image

* static analysis get its own job

* remove duplicate step
2020-06-11 18:11:43 -07:00
Adeeb Shihadeh
19bb3f8189 fix docker build 2020-06-04 20:23:49 -07:00
Adeeb Shihadeh
37cd8ebf78 fix dockerfile 2020-06-04 20:15:37 -07:00
Adeeb Shihadeh
1acd80064d run cppcheck in CI 2020-06-04 20:13:59 -07:00
Adeeb Shihadeh
286b7e58b5 capitalize docker command 2020-05-30 20:37:42 -07:00
Willem Melching
8e2d212a3d add pre-commit static analysis (#48) 2020-05-28 16:04:53 -07:00
Willem Melching
9073b9b1b4 Library cleanup (#43)
* library cleanup

* no static libraries

* apks need static zmq

* Typo

* No hacky script
2020-05-12 18:50:24 -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