Commit Graph

178 Commits

Author SHA1 Message Date
Adeeb Shihadeh
91dc8457ae Revert Qt MOC hacks (#29528)
* Revert "CI: prevent moc from running in cache population step (#29401)"

This reverts commit d1aedccfbe.

* Revert "SCons: respect cache read only (#29437)"

This reverts commit 59abb469ea.

* don't change moc path
2023-08-22 11:16:58 -07:00
Justin Newberry
59abb469ea SCons: respect cache read only (#29437)
* respect readonly

* gitignore and move to correct folder

* also copy old
2023-08-17 10:30:55 -07:00
Maxime Desroches
4c1b8b71d0 acados: update to 0.2.2 (#28821)
* use 0.2.2

* Add mac binaries

* Replace libqpOASES with symlink on larch64

* Add comment to build script

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
2023-08-15 15:53:21 -07:00
Robbe Derks
5fd6589779 Build tools on aarch64 (#29393) 2023-08-14 13:46:14 -07:00
Dean Lee
233e053842 scons: rename QT_MOCHPREFIX to QT3_MOCHPREFIX (#29334)
rename QT_MOCHPREFIX to QT3_MOCHPREFIX
2023-08-11 10:38:34 -07:00
Kacper Rączy
6bed72ddd6 third_party: remove curl binaries and headers (#29206) 2023-08-01 22:23:23 -07:00
Kacper Rączy
c640429406 aarch64: ubuntu build support (#29171)
* Add support for aarch64 pc linux

* Add new libyuv path to release files

* Add libyuv's x86_64 lib dir

* Move left-over platform specific dirs from files_common

* Remove libyuv/lib directory (duplicate)

* Fix mpc Sconscripts

* Remove acados lib path from mpc sources

* Fix typo

* Add watch3 exec on aarch64
2023-08-01 16:18:46 -07:00
Kacper Rączy
f911e5f028 libyuv: universal binary build for macOS (#29170)
* Create universal binary for libyuv

* Add comment about universal binaries to build script

* Remove duplicate license
2023-07-28 02:43:30 +02:00
Adeeb Shihadeh
1945c356c2 agnos 8 (#28843)
* agnos 8

* update to python 3.11.4 (#27452)

* rebase

* optional

* lower cython

* TEMP don't pull cl to use python3.11

* Revert "lower cython"

This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.

* fix cython

* remove tensorrt

* carla + opencv

* macos

* update timm and smp

* pynvc

* https

* downgrade numpy

* pin scipy

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>

* revert that

* fix linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
9c307f2550 Revert "Update pycapnp and Cython (#29021)"
This reverts commit 76ef1b9b9f.
2023-07-18 18:47:35 -07:00
Maxime Desroches
76ef1b9b9f Update pycapnp and Cython (#29021)
* cython + pycapnp

* from_bytes with context

* poetry lock

* limit numpy

* force build

* Revert "force build"

This reverts commit 8c7cb00421da9d0f1b7da2c94f75e9c43733f840.

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-07-18 16:40:36 -07:00
Robbe Derks
f086656e80 Remove acados symlink (#28824)
seems to build fine without?
2023-07-07 16:05:10 +02:00
Kacper Rączy
45a6834a74 macOS: fix build issues & re-enable CI (#28258)
* Uncomment build_mac job

* Add PYCURL_CURL_CONFIG

* Acados universal binary

* Remove x86 macos references from sconscript

* Add missing include in cabana

* Update cereal

* Update workflow

* Remove unnecessary libpaths for darwin

* Add missing path to cached dirs

* Fix path in cache preparation step

* Add poetry caches to CI cache

* Compile acados with lower deployment target for CI

* Update cereal

* Pass -rpath in linker flags as scons doed not support RPATH on macos

* Use scons api instead of os

* @rpath in install name of acados dylibs

* SConstruct cleanup

* fix liblocationd tests by adding lib suffix based on platform

* Update cereal

* Update opendbc

* Update opendbc

* Add acados gitignore to release files

* Update cereal

* Update cereal

* Add scons_cache to build cache

* Add Caskroom to cache

* Fix typo

* Link all packages at once, instead of one by one

* Run cleanup stage using poetry

* Remove casks from cache

* Move scons cache to separate cache step

* Save scons cache only on master

* Remove restore-keys from save-scons-cache step

* Uncomment if conditions for scons save

* Add gcc-arm-embedded cask cache to cache

* Custom handling of gcc-arm-embedded toolchain cache

* Rename dep cache key

* Exclude .fseventsd from cache

* Fix glob pattern

* Remove .feventsd before caching

* Run mac_setup only if dependency cache-hit != true

* Update cereal to master

* Add overwrite flag to brew link

* Remove manual casadi build from mac_setup

* Remove restore-keys from dependency cache

* Remove linux requirement for casadi

* Restore restore-keys to dependency cache
2023-06-21 13:14:20 -07:00
Kacper Rączy
1a5f29ecc6 macOS: disable camerad and sensord build (#28164)
* Disable camerad and sensord on Darwin

* Add gcc@12 to mac_setup as it's required by panda

* Update panda
2023-05-12 13:01:00 -07:00
Adeeb Shihadeh
5c2fa5cabf scons: fix warning on newer versions with Qt3 tool 2023-04-23 18:02:54 -07:00
Adeeb Shihadeh
453fdec8c4 build tools without option on pc 2023-04-22 16:16:51 -07:00
Adeeb Shihadeh
d5ab1e33c2 scons: set warnings as error (#28004)
* navd: fix scons build warnings

* fix release

* sim fix

* fix docs

* build cabana
2023-04-22 15:24:45 -07:00
Willem Melching
d0b309ab0d MacOS: link against openssl@3.0 (#27978) 2023-04-19 13:31:19 -07:00
Adeeb Shihadeh
558da046db update scons qt tool (#27825)
* update scons qt tool

* support old and new

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-06 20:42:19 -07:00
Dean Lee
a036430390 cabana: static link to opendbc (#27409)
* static link to opendbc

* bump opendbc

* cleanup

* bump opendbc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-04-01 16:29:06 -07:00
Adeeb Shihadeh
c97911dbad ubloxd: move to system/ (#27536)
* ubloxd: move to system/

* more fixes

* add missing sconscript

* fix valgrind tests

* uncomment
2023-03-08 16:11:18 -08:00
Adeeb Shihadeh
94eb215980 loggerd: move to system/ (#27534) 2023-03-08 11:20:49 -08:00
Adeeb Shihadeh
6f40f0d442 sensord: move to system/ (#27531)
* sensord: move to system/

* add gitignore to releaes files
2023-03-08 10:56:54 -08:00
martinl
89f68bf0cb cleanup: remove nonexisting third_party includes (#27372) 2023-02-17 11:08:41 -08:00
Adeeb Shihadeh
e883976a32 set path for extra qt bins on device (#27022)
* set path for extra qt bins on device

* no print

Co-authored-by: Comma Device <device@comma.ai>
2023-01-20 14:11:43 -08:00
Dean Lee
c21d9408a1 cabana: use bootstrap icons (#26981)
* use bootstrap icons

* typo

* build into asset_obj

* add to files_common
2023-01-18 13:19:23 -08:00
Harald Schäfer
af97a96080 Add lane ekf (#26986)
* change lane_kf pos

* add lane back here
2023-01-16 19:43:34 -08:00
Adeeb Shihadeh
cd8e03d53e move all third party stuff into third_party/ (#26853)
* mv fastcluster

* move msm_kgsl.h

* camerad include

* update path

* mv pyextra

* fix tici build

* add acados_template to release build

Co-authored-by: Comma Device <device@comma.ai>
2022-12-31 21:00:50 -08:00
Shane Smiskol
01dac5d06b Build panda/SConscript (#26646)
* panda/SConscript

* think this is right?

* bump panda

* fix test_models

* use a filter

* bump panda to mater

* more aesthetic ordering

* alphabetical :(

* alphabetical :(
2022-11-30 20:27:55 -08:00
Willem Melching
2cd1571f4a Discover Qt paths using qmake (#26501)
* discover qt paths using qmake

* fix device build

* use subprocess.check_output
2022-11-16 15:45:28 -08:00
Dean Lee
3a8ddc191f Move Qt moc files to scons cache directory (#26109) 2022-10-17 10:32:31 -07:00
Cameron Clough
2082248b73 Revert "don't build cabana unless extras (#26072)"
This reverts commit 41f520c254.
2022-10-13 12:48:24 -07:00
Cameron Clough
41f520c254 don't build cabana unless extras (#26072)
don't build cabana on device

this caused CI to fail for xx since qt libs aren't installed in CI docker
2022-10-13 11:43:20 -07:00
Cameron Clough
8b5ebbddf6 build extras together (#26051)
* build extras together

* don't check here either
2022-10-12 15:14:02 -07:00
Dean Lee
1b8324af87 c++ cabana: Initial version (#25946)
* draft

* continue

* fix QChart unresponsive with large points

* build with --extras

* add filter

* save DBC button

* more buttons

* add flag to use qcamera

* stop replay in dctor

* README

* use getMsg

* video control

* edit signal

* add colors

* correct ts

* add/edit signals

* use bus:address as key
2022-10-03 15:19:42 -07:00
Dean Lee
29f9c536b4 camerad: build camerad on PC (#25726)
* compile camerad on PC

* scons cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-09-11 13:56:38 -07:00
Adeeb Shihadeh
2e013c9d46 fix intel mac build, from #25500 2022-09-05 18:07:45 -07:00
George Hotz
40d6f4b65c modeld: Move from SNPE to tinygrad (#25207)
* compiling, won't work yet

* running with inputs and outputs

* there's some magic chance this works

* no more dlc, include onnx

* yolo tests plz

* bump tinygrad

* files_common + delete dlc

* tinygrad_repo -> tinygrad

* pre commit config

* llops needed

* extra in files_common

* bump tinygrad

* fix indent

* tinygrad/nn/__init__

* tinygrad_repo

* bump tinygrad repo

* bump tinygrad

* bump with native_exp, match maybe

* native_explog is argument

* pyopencl no cache

* 5% chance this matches

* work in float32?

* bump tinygrad

* fix build

* no __init__

* fix recip

* dumb hack

* adding thneed PC support

* fix pc segfault

* pc thneed is working

* to_image

* prints stuff with debug=2

* it sort of works

* copy host ptr is simpler

* bug fix

* build on c3

* this correct?

* reenable float16

* fix private, fixup copy_inputs internal

* bump tinygrad and update ref commit

* fix OPTWG on PC

* maybe fix non determinism

* revert model replay ref commit

* comments, init zeroed out buffers

* upd ref commit

* bump tinygrad to fix initial image

* try this ref

Co-authored-by: Comma Device <device@comma.ai>
2022-09-01 10:31:14 -07:00
Adeeb Shihadeh
6590fb2b93 pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
Adeeb Shihadeh
c626198575 webcam isn't a special build anymore 2022-08-26 20:44:29 -07:00
Adeeb Shihadeh
e9d27750af more reliable check 2022-08-25 17:30:00 -07:00
Adeeb Shihadeh
c2fee2d45e build test files by default (#25515)
* build test files by default

* only on master based
2022-08-25 16:22:52 -07:00
Adeeb Shihadeh
7e6f4e74bf body: add fw repo as submodule (#25420)
* body: add fw repo as submodule

* bump body

* file whitelist

* revert that for now
2022-08-12 16:46:33 -07:00
Willem Melching
86c1e8164a navd: add back VisionIPC map renderer (#25212)
* builds standalone

* process live msg

* render into nv12a

* VISION_STREAM_RGB_MAP -> VISION_STREAM_MAP

* cleanup sconscript

* main include cleanup
2022-07-19 16:57:13 +02:00
Willem Melching
42d51a1b95 Properly pass KF dependencies to rednose (#24985)
* Fix rednose dependencies

* bump rednose

* bump rednose
2022-06-28 17:20:37 +02:00
Dean Lee
fd5b3d7603 move replay from selfdrive/ui/replay to tools/replay (#24971)
* mv to tools/replay

* change folder

* add .gitignore

* fix build doc

* disable warning

* enable warning after build

* build qt/util.cc qt/api.cc to library

* cleanup
2022-06-28 16:12:42 +02:00
Adeeb Shihadeh
6123ab3d1c Move camerad to system/ (#24836)
* mv camerad

* add hardware symlink

* fix unit tests
2022-06-19 14:43:49 -07:00
Gijs Koning
724b322909 Laikad: Use filter for correcting measurements (#24824)
* Update laikad.

* Update log error
2022-06-13 02:45:35 -07:00
Willem Melching
d71295e045 Revert "SConstruct: set AGNOS from /AGNOS" until Jenkins devices are updated
This reverts commit 84c741ecf6.
2022-06-13 09:50:40 +02:00
Willem Melching
84c741ecf6 SConstruct: set AGNOS from /AGNOS 2022-06-13 09:37:12 +02:00