62 Commits

Author SHA1 Message Date
Cole Brinsfield
8fa72b4f43
whitescreen workaround (#27)
* Terrible, Horrible, No Good, Very Bad Hack for h264

* Add setting to turn on this terrible hack

* Handle multiple video resolutions

* Use h264bitstream to do this better

* Remove all parameters we don't want

* Cleaning things up a little

* Renaming whitescreen workaround, defaulting to on
2022-02-12 14:33:02 -06:00
Cole Brinsfield
e2b6985d87
Navigation Status Service, Media Status Service, Touchscreen Multitouch Support, AAInterface (#26)
* new services being added to openauto

* cmake for new services

* MediaStatusService, transitioning away from qt gstreamer

* Reverting change to qmlglsink as it's not functional on raspbian as of this moment

* Multitouch support within android auto

* add night mode toggle to aainterface

* Dot dump debug functionality

* NavigationStatusService, MediaStatusService, AAInterface, Hotkey migration

* Add a delay to dot dumping because caps aren't selected until data is streaming, so we can't rely on just a PLAYING status

* PR cleanup
2022-01-20 11:47:15 -06:00
Cole Brinsfield
efb9d8bc6f
Allow for scroll wheel injection (#23)
* Working on proper resizing of AA

* allow for custom aspect ratios

* A mess of code to support sending input events from dash

* Restructuring input injection to be much nicer

* Code Cleanup

* Allow for scroll wheel injection
2021-07-25 18:03:08 -07:00
Cole Brinsfield
658005da61
input service binding (#22)
* Working on proper resizing of AA

* allow for custom aspect ratios

* A mess of code to support sending input events from dash

* Restructuring input injection to be much nicer

* Code Cleanup
2021-07-15 18:11:59 -05:00
Cole Brinsfield
e940b8036e
custom aspect ratios (#21)
* Working on proper resizing of AA

* allow for custom aspect ratios
2021-05-21 21:59:57 -05:00
Cole Brinsfield
94ee66acd7
try connect to last bluetooth device (#20)
* Working on cleaning wifi

* Reworked bluetooth handshake based around @presslab-us's work

* Forgot to remove a line

* QOL: try to reconnect to last phone BT on openauto start

* bt autoconnect raspberry pi workaround

* Try to connect to last successful bluetooth device

* Bad merge fix

* pointers

* typo

* Update SocketInfoResponse.proto

* Added a config option to autoconnect to last bt device (defaults off)
2021-02-01 21:10:38 -06:00
Cole Brinsfield
3d96b6e6e3
bluetooth handshake / wifi rework (#18)
* Working on cleaning wifi

* Reworked bluetooth handshake based around @presslab-us's work

* Forgot to remove a line
2020-12-20 20:36:38 -06:00
Robert Stanley Judka
23c38158ee
cleanup wireless device connection (#14)
* initial cleanup passthrough

* bad copypaste

* add back ! and more style fixes

* handling ping and voice session
2020-08-28 17:36:43 -05:00
Robert Judka
ae66394b6b [HOTFIX] revert handling ping and voice session until aasdk change 2020-08-26 22:35:40 -05:00
Cole Brinsfield
50e077aa6e
automatic wireless device connection (#12)
* fix for omx when performing GST build

* wireless android auto bluetooth negotation

* Grab local bluetooth adapter

* Handling ping and voice session

* wait for both usb and wifi device ]connections

* Make btservice launch with openauto, allows for wireless connection automatically

* WiFi hotspot info pulled from openauto config

* Install btservice correctly

Co-authored-by: Rhys_M <rhys1802@hotmail.co.uk>
Co-authored-by: Robert Judka <robertjudka@gmail.com>
2020-08-26 19:48:36 -05:00
Jason C. Wenger
bb0881e827 Correct relative paths 2020-07-11 22:01:08 -05:00
Jason C. Wenger
6cc5a32016 Rearrange directory structure, namespaces, CMakeLists. 2020-07-11 00:51:03 -05:00
Robert Stanley Judka
c806b15b61
add interface to send keyevents (#5)
* explicitly send keyevent to input device; style cleanup

* more style updates

* more style conformity
2020-06-22 15:59:33 -05:00
Robert Stanley Judka
5b0543ac10
add gstreamer support (#4)
* Implementing Gstreamer projection

* Moved back to QtQuick video sink, still no display

* "works" but spikes cpu

* merge upstream develop

* Missed a merge conflict

* added resize

* GSTVideoOutput works within ia openauto frame now

* Fixed up cmake for gst

* Add destructor for GST

* Added PI4 support

* Accidently added a bad cmake run at some point

* Stylistic changes

* Cleaning up unused variables

* Stylistic update

* Stylistic Changes

* Quick merge fix

* Review feedback

* Post review feedback

* Left handed pointers/CMake fix

Co-authored-by: Cole Brinsfield <brinsfield.cole@gmail.com>
2020-05-25 21:27:32 -05:00
Robert Judka
6cda29433a use weak pointer for sensor service to track actual lifetime 2020-04-26 00:46:57 -05:00
Robert Stanley Judka
464da85686
add interface to allow for night mode control (#2) 2020-04-25 23:49:33 -05:00
Robert Stanley Judka
5f8d5f4f6a
add interfaces to dynamically adjust video size (#1)
* adding interfaces for toggling fullscreen

* passing in destrect to omx

* adding flag for deffering video update

* remove skipUpdate option for video output

* fixing omx player stop deadlock; setting omx alpha in constructor

* jk not setting opacity in constructor for omx

* removing unsed function
2020-03-22 16:08:44 -05:00
Robert Judka
ae5a21a75e updates to make things work (stolen from other people); modifying interfaces for qt support 2020-03-06 13:43:39 -06:00
michal.szwaj
478caf0767 Create service package 2018-04-07 00:38:43 +02:00
michal.szwaj
675e6cfcf6 Cleanup entity creation 2018-04-06 20:33:27 +02:00
michal.szwaj
24bbe66954 Inject list of services instead of service factory 2018-04-06 20:24:08 +02:00
michal.szwaj
dfd3cb7b0c Inject messenger to the entity 2018-04-06 20:14:47 +02:00
michal.szwaj
5059bba795 Split ping method to send and schedule 2018-04-06 19:50:45 +02:00
michal.szwaj
28fc6a32e9 Standarize behavior of pinger cancel 2018-04-06 00:43:06 +02:00
michal.szwaj
a0b2418022 Fix invalid inheritance of enable_shared_from_this 2018-04-05 18:27:31 +02:00
michal.szwaj
cf3a5e51d7 Draft of ping implementation 2018-04-05 18:09:15 +02:00
michal.szwaj
4d53277763 Add settings for selection of audio output backend 2018-03-25 17:30:57 +02:00
michal.szwaj
00acf0ee3e Use timestamp of audio output 2018-03-25 15:15:03 +02:00
michal.szwaj
f9692b76a1 Revert last commit 2018-03-25 11:51:17 +02:00
michal.szwaj
18fa86b532 Enable playback only when pcm data are available 2018-03-25 11:45:47 +02:00
michal.szwaj
ef53aa4399 Merge remote-tracking branch 'remotes/origin/development' into feature/audio_enhancements 2018-03-25 04:21:40 +02:00
michal.szwaj
9db15b953e Implement selection of recent address 2018-03-25 03:13:23 +02:00
michal.szwaj
f01f057b68 Load recent addresses list 2018-03-25 01:58:38 +01:00
michal.szwaj
258a6a3c59 Impelemnt recent list 2018-03-25 01:29:36 +01:00
michal.szwaj
8900c180e3 Fix deadlock when stopping audio output 2018-03-24 11:40:28 +01:00
michal.szwaj
66610efd33 Use RtAudio for all audio channels 2018-03-24 03:28:31 +01:00
michal.szwaj
bd6013081a Implement RtAudio backend 2018-03-24 02:52:03 +01:00
michal.szwaj
e4771d0d1c Add Qt prefixes to audio class implementations 2018-03-24 01:04:26 +01:00
michal.szwaj
991f31bc77 Handle invalid IP address 2018-03-22 17:12:37 +01:00
michal.szwaj
f77cbca876 Indicate connection progress 2018-03-22 16:33:23 +01:00
michal.szwaj
7c31bafa10 Implement connecting to the device 2018-03-21 23:51:31 +01:00
michal.szwaj
69d6cf835b Draft of Connect dialog 2018-03-21 19:38:20 +01:00
michal.szwaj
2ecdd83e76 Implement creating of tcp AA entity 2018-03-19 21:34:32 +01:00
michal.szwaj
21ff97fe8a Remove Main class 2018-03-19 20:58:40 +01:00
michal.szwaj
083040426f Draft of bluetooth services 2018-03-17 23:30:04 +01:00
michal.szwaj
5c31630155 Add btservice to the project 2018-03-17 21:47:10 +01:00
michal.szwaj
9cef110bc4 Remove USB package from autoapp 2018-03-17 17:27:24 +01:00
michal.szwaj
9e114226a9 Move Qt related stuff outside USBMain.cpp 2018-03-17 17:17:41 +01:00
michal.szwaj
99b96296ab Merge remote-tracking branch 'remotes/origin/development' into feature/wireless 2018-03-17 11:24:35 +01:00
michal.szwaj
28cff9c53b Enumerate connected devices with AOAP capabilities 2018-03-17 01:20:48 +01:00