apps/native/gear-racing-controller.git
5 years agomessages: implement protocol messages 67/189867/7
Lukasz Stanislawski [Fri, 21 Sep 2018 08:32:56 +0000 (10:32 +0200)]
messages: implement protocol messages

Change-Id: Iacc7d111e8c0eef28271c168cd40af70f55af665

5 years agomessages: base message implementation 59/189859/5
Lukasz Stanislawski [Fri, 21 Sep 2018 07:57:41 +0000 (09:57 +0200)]
messages: base message implementation

base message handles common message functionalities:
1. serial number
2. sender/reciever
3. timestamp
4. serialization/deserialization

base message also allows to polymorphic calls via message vtable.

Change-Id: I519da9b86bb788724ba3be43722b6416c2485f4e

5 years agomessages: implement reader/writer classes 58/189858/4
Lukasz Stanislawski [Fri, 21 Sep 2018 07:55:10 +0000 (09:55 +0200)]
messages: implement reader/writer classes

Those objects handles writing/reading data from
the wire.

Change-Id: I7806a74914bffcf9fd884bd56961211fd00b3221

5 years agoAdded implementation of UDP connection 28/189128/15
Krzysztof Wieclaw [Thu, 13 Sep 2018 14:42:18 +0000 (16:42 +0200)]
Added implementation of UDP connection

Change-Id: I8140fa06e9285255123fd079cf0003cc63970f8a
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoFixed typo in function name 27/189427/2
Krzysztof Wieclaw [Mon, 17 Sep 2018 13:31:04 +0000 (15:31 +0200)]
Fixed typo in function name

Change-Id: Ia44d5bc2bc89e52cfb705536986723214117f8fc
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoCloud async API implementation 62/189562/7
Michal Kolodziejski [Tue, 18 Sep 2018 14:19:40 +0000 (16:19 +0200)]
Cloud async API implementation

Change-Id: Ibcc6c65a0a273e92c20eb0d9bf713d009fdb54c3
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
5 years agoREST API wrapper 42/189242/8
Michal Kolodziejski [Fri, 14 Sep 2018 13:29:57 +0000 (15:29 +0200)]
REST API wrapper

Change-Id: If475a83834783303a7382ce1b4efaec3fc4c40b6
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
5 years agoCar info data implementation 27/189127/9
Michal Kolodziejski [Thu, 13 Sep 2018 14:25:31 +0000 (16:25 +0200)]
Car info data implementation

Change-Id: I1a8eb4c439327f0dfceafd2566a126ace56b5b51
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
5 years agoJson serializer and deserializer 07/189107/6
Michal Kolodziejski [Thu, 13 Sep 2018 10:00:31 +0000 (12:00 +0200)]
Json serializer and deserializer

Change-Id: Ie50487085d6f9ec61cd3376b132906e5c36f0882
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
5 years agoAPI for cloud communication 12/188712/14
Michal Kolodziejski [Fri, 7 Sep 2018 14:42:07 +0000 (16:42 +0200)]
API for cloud communication

Change-Id: Ib265510e34b1b120865e20a35879ed8adbc051a2
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
5 years agoCar Connection API for P2P on UDP 13/188913/13
Krzysztof Wieclaw [Tue, 11 Sep 2018 16:14:17 +0000 (18:14 +0200)]
Car Connection API for P2P on UDP

Change-Id: I7474259840a066037ace2f7c05a9e9e84d7ae480
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoAdded velocity control based on gravity sensor 94/187594/12
Krzysztof Wieclaw [Fri, 24 Aug 2018 10:58:36 +0000 (12:58 +0200)]
Added velocity control based on gravity sensor

Change-Id: I09506c04029463f0eb86f4573b51d30ec1b98bb7
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoCamera controll 52/188152/2
Michal Skorupinski [Fri, 31 Aug 2018 19:13:28 +0000 (21:13 +0200)]
Camera controll

Change-Id: Ib5de05c12fae6da1a1e3df350457b231bfe715d1
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoCamera indicators added. Azimuth indicator animation added 51/188151/2
Michal Skorupinski [Fri, 31 Aug 2018 16:24:48 +0000 (18:24 +0200)]
Camera indicators added. Azimuth indicator animation added

Change-Id: Iaedfdff5f5a6d58f4040a67cd810655130032e86
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoDirection change blocker implemented 49/188049/2
Michal Skorupinski [Thu, 30 Aug 2018 12:42:38 +0000 (14:42 +0200)]
Direction change blocker implemented

Change-Id: I25fa143606f414f70cd34dbcc2e49953e8fdec03
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoVelocity arrow's color changed based on movement direction 36/188036/2
Michal Skorupinski [Wed, 29 Aug 2018 17:59:59 +0000 (19:59 +0200)]
Velocity arrow's color changed based on movement direction

Change-Id: I7a2abc57d22eb87aab768017f6533649257e589c
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoDeadzone added to direction 35/188035/2
Michal Skorupinski [Wed, 29 Aug 2018 15:28:44 +0000 (17:28 +0200)]
Deadzone added to direction

Change-Id: Id10fcd12eb3c8ac89ecf0719f72e21e7a4c5befa
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoReduced the size of the clicable area in the racing view 39/187939/2
Michal Skorupinski [Wed, 29 Aug 2018 14:26:48 +0000 (16:26 +0200)]
Reduced the size of the clicable area in the racing view

Change-Id: Id9f5218cc2d7a9552a227357f4973ed44c99d4fb
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoUpdate to emergency stop 34/187934/2
Michal Skorupinski [Wed, 29 Aug 2018 13:52:59 +0000 (15:52 +0200)]
Update to emergency stop

* Direction can be changed
* Speed is set to 0

Change-Id: Iedb3322c76056fb8f10e534edcba8c306f21fc4f
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoEmergency stop functionality implemented. Tuning to output values 26/187826/2
Michal Skorupinski [Tue, 28 Aug 2018 18:35:05 +0000 (20:35 +0200)]
Emergency stop functionality implemented. Tuning to output values

Change-Id: Ib397a56540b13a1614075080b608f2e4c37cfd46
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoFixes in the car connection model. Networking privileges added 25/187825/2
Michal Skorupinski [Thu, 23 Aug 2018 11:56:47 +0000 (13:56 +0200)]
Fixes in the car connection model. Networking privileges added

Change-Id: I509ffb5f89179188d5798af23535ebb8ef8f3a28
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoNetwork failure view switches to the Connect to car view 62/187162/2
Michal Skorupinski [Fri, 17 Aug 2018 15:27:29 +0000 (17:27 +0200)]
Network failure view switches to the Connect to car view

Change-Id: I0d513e73501d1ee91643acfd9c5fb77ddfe0f804
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoConnecting to a car 61/187161/2
Michal Skorupinski [Fri, 17 Aug 2018 12:54:20 +0000 (14:54 +0200)]
Connecting to a car

Change-Id: I48c9b4cb2e5e5fd1f05732a68fe68c1a3205ab16
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoUsing the rotary to set the throttle 60/187160/2
Michal Skorupinski [Thu, 16 Aug 2018 14:20:44 +0000 (16:20 +0200)]
Using the rotary to set the throttle

Change-Id: I78b75ebc90dbcf5cebe7efeb771f67a164ca2f04
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoFiltering the direction value received from sensor 74/186274/2
Michal Skorupinski [Wed, 8 Aug 2018 11:54:49 +0000 (13:54 +0200)]
Filtering the direction value received from sensor

Change-Id: I2172110caadcff124986e25b9a9885fa0af0e52e
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoSensors integration 73/186273/2
Michal Skorupinski [Tue, 7 Aug 2018 14:18:24 +0000 (16:18 +0200)]
Sensors integration

TODO:
* Filtering
* Velocity control with vertical movement

Change-Id: I0948c8febb0e8a29c6eff8965839ef990da6025c
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoCar selection screen updated 34/184934/3
Michal Skorupinski [Mon, 23 Jul 2018 11:45:44 +0000 (13:45 +0200)]
Car selection screen updated

Change-Id: I10b928df89d757a43d2261b873295f6de417b9c3
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoButton hiding fixed 50/184550/2
Krzysztof Wieclaw [Wed, 18 Jul 2018 12:06:02 +0000 (14:06 +0200)]
Button hiding fixed

Change-Id: I998a806fd0bd4683d3fa07ca024e84b03078f6ea
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoPop mechanics added to naviframe 43/184543/4
Michal Skorupinski [Wed, 18 Jul 2018 13:25:32 +0000 (15:25 +0200)]
Pop mechanics added to naviframe

Change-Id: Id93f48de250924e9d5c6f117150146cd8a536377
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoEmergency stop page removed 96/184396/4
Michal Skorupinski [Tue, 17 Jul 2018 17:52:29 +0000 (19:52 +0200)]
Emergency stop page removed

Change-Id: I6345b0afbdaccf07cc99315af901693a130600cd
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoDestroying the controllers from views 95/184395/3
Michal Skorupinski [Tue, 17 Jul 2018 16:11:49 +0000 (18:11 +0200)]
Destroying the controllers from views

Change-Id: If47ff4c627a2a5af70b582aa02a06762ba96a86f
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoUnsubscribing events when a controller is destroyed 93/184393/3
Michal Skorupinski [Tue, 17 Jul 2018 15:28:51 +0000 (17:28 +0200)]
Unsubscribing events when a controller is destroyed

Change-Id: Iab72c4b1b6683fdae5602b2b5b70859614a894f6
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoRemoved controller memory allocation 88/184388/3
Michal Skorupinski [Tue, 17 Jul 2018 14:34:09 +0000 (16:34 +0200)]
Removed controller memory allocation

Change-Id: Ib9738999c9a2e4aa843c7fbe912ee37b499a1556
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoPopup view with progress circle added. 52/184252/6
Michal Skorupinski [Mon, 16 Jul 2018 16:35:10 +0000 (18:35 +0200)]
Popup view with progress circle added.

Change-Id: I7d773cae46b938644f252377da2ca1c0732af6ce
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoList added to the car selection view 64/183964/9
Michal Skorupinski [Thu, 12 Jul 2018 13:07:49 +0000 (15:07 +0200)]
List added to the car selection view

Change-Id: I9e218ff24b0355c55ff6852c8ffe2e2c0421a30f
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoStyle for middle button added 98/184098/8
Krzysztof Wieclaw [Fri, 13 Jul 2018 14:00:34 +0000 (16:00 +0200)]
Style for middle button added

Change-Id: Idbda414ec99236e079e3c5e8d636f16416de2853
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoReset view added 47/183847/10
Krzysztof Wieclaw [Wed, 11 Jul 2018 15:14:15 +0000 (17:14 +0200)]
Reset view added

Change-Id: Ia73b37fb939066856911139ea714078b1068c767
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoConnection failure view added 46/183846/10
Krzysztof Wieclaw [Tue, 10 Jul 2018 14:08:40 +0000 (16:08 +0200)]
Connection failure view added

Change-Id: Idf3e063b2bfb064b58c2827af4e05a5c4e02f6ce
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoConnection successed view added 43/183843/9
Krzysztof Wieclaw [Tue, 10 Jul 2018 11:02:09 +0000 (13:02 +0200)]
Connection successed view added

Change-Id: I3ab5723134512590c13008d37e27d2b701c86495
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoHelp view added 42/183842/9
Krzysztof Wieclaw [Mon, 9 Jul 2018 14:03:31 +0000 (16:03 +0200)]
Help view added

Change-Id: I70864eeb46c1e8595a2a30c97fe4c3257ee7936d
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoName input view added 41/183841/8
Krzysztof Wieclaw [Thu, 5 Jul 2018 14:09:16 +0000 (16:09 +0200)]
Name input view added

Change-Id: I6eeddb324984bf0df7ef9684f23bab0a7117b37f
Signed-off-by: Krzysztof Wieclaw <k.wieclaw@samsung.com>
5 years agoBackground added to 'connect to car' screen 66/183666/4
Michal Skorupinski [Mon, 9 Jul 2018 17:23:48 +0000 (19:23 +0200)]
Background added to 'connect to car' screen

Change-Id: Ia3874ed3be71093f87801e594a27d01087db25a1
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoCustom style created for buttons 65/183665/4
Michal Skorupinski [Mon, 9 Jul 2018 17:09:08 +0000 (19:09 +0200)]
Custom style created for buttons

Change-Id: I1b8005900a8cdaea5a42dc184da8616293ebd62d
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoBetter handling of longpress in emergency stop view 69/183569/5
Michal Skorupinski [Fri, 6 Jul 2018 16:48:16 +0000 (18:48 +0200)]
Better handling of longpress in emergency stop view

Change-Id: I5984514f78d268131eee02a401e754f6bb0a115c
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoView factory added 68/183568/4
Michal Skorupinski [Fri, 6 Jul 2018 16:32:26 +0000 (18:32 +0200)]
View factory added

Change-Id: Ifc1fb24c63b5e445707e9faa470be8c1f3d0dd9a
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoEmergency stop created 63/183563/4
Michal Skorupinski [Fri, 6 Jul 2018 13:25:59 +0000 (15:25 +0200)]
Emergency stop created

Change-Id: I92263b037fc05f211f54ffd61b3948e5eb6deb23
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoview_base struct added 55/183555/4
Michal Skorupinski [Fri, 6 Jul 2018 11:21:54 +0000 (13:21 +0200)]
view_base struct added

Change-Id: I2660983d62d8888f8759a8faf298176577170662
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoUsing stub model to simulate sensor data 67/183467/4
Michal Skorupinski [Thu, 5 Jul 2018 16:27:18 +0000 (18:27 +0200)]
Using stub model to simulate sensor data

Change-Id: Ifbb82a7a26853d8dcd26d355668cc00c52208470
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoAdded rotation maps to velocity and direction images 46/183446/4
Michal Skorupinski [Thu, 5 Jul 2018 10:29:33 +0000 (12:29 +0200)]
Added rotation maps to velocity and direction images

Change-Id: Ic269bee5b58444836b04500f7bd6102c5990a42a
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoRacing static screen added 42/183442/4
Michal Skorupinski [Wed, 4 Jul 2018 17:03:29 +0000 (19:03 +0200)]
Racing static screen added

Change-Id: If3ad94acb66855337aaee68efc58bdb9677bdb72
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoStubs for all views added 43/183343/4
Michal Skorupinski [Wed, 4 Jul 2018 15:19:47 +0000 (17:19 +0200)]
Stubs for all views added

Change-Id: Ia3f5e4d562bf9ac0d58d32dad3ffad264563336f
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoConnection model added. 42/183342/3
Michal Skorupinski [Wed, 4 Jul 2018 12:36:53 +0000 (14:36 +0200)]
Connection model added.

Change-Id: I29b30d583e9b99a2188310fe6850a00523630079
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoCar selection controller added. 41/183341/3
Michal Skorupinski [Wed, 4 Jul 2018 11:29:15 +0000 (13:29 +0200)]
Car selection controller added.

Change-Id: I8ada765595f337ea7be185f2eb289fcc4e3f0d70
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoCar selection stub screen added 40/183340/3
Michal Skorupinski [Thu, 12 Jul 2018 10:22:10 +0000 (12:22 +0200)]
Car selection stub screen added

Change-Id: I0a0216c2c6ecefbd6460885d1521836319bc6bf5
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
5 years agoConnect to car stub page added 39/183339/4
Michal Skorupinski [Tue, 10 Jul 2018 16:35:08 +0000 (18:35 +0200)]
Connect to car stub page added

Change-Id: Ibb31f8b932bf0f5c0e9db35d5d7f9117ddb5f45e
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
6 years agoMerge pull request #4 from RS7-TizenReferenceSampleApplication/jjoggo
한준규/Tizen Platform Lab(SR)/Engineer/삼성전자 [Fri, 12 Jan 2018 05:57:28 +0000 (14:57 +0900)]
Merge pull request #4 from RS7-TizenReferenceSampleApplication/jjoggo

Send average value of current 10 data

6 years agoFixed reviews 2
junkyu han [Thu, 11 Jan 2018 11:52:16 +0000 (20:52 +0900)]
Fixed reviews 2

6 years agoFixed reviews
junkyu han [Thu, 11 Jan 2018 11:49:02 +0000 (20:49 +0900)]
Fixed reviews

6 years agoSend average value of current 10 data
junkyu han [Thu, 11 Jan 2018 08:29:54 +0000 (17:29 +0900)]
Send average value of current 10 data

6 years agoMerge pull request #3 from RS7-TizenReferenceSampleApplication/sangnamja
한준규/Tizen Platform Lab(SR)/Engineer/삼성전자 [Thu, 11 Jan 2018 08:32:05 +0000 (17:32 +0900)]
Merge pull request #3 from RS7-TizenReferenceSampleApplication/sangnamja

Add code for communication with car and divide code into each categories

6 years agoSend average value of current 10 data
junkyu han [Thu, 11 Jan 2018 08:29:54 +0000 (17:29 +0900)]
Send average value of current 10 data

6 years agoController can controll the Car
junkyu han [Thu, 11 Jan 2018 06:45:49 +0000 (15:45 +0900)]
Controller can controll the Car

6 years agoApply changed code
junkyu han [Tue, 9 Jan 2018 08:50:39 +0000 (17:50 +0900)]
Apply changed code

6 years agoDivide code regarding communication
junkyu han [Tue, 9 Jan 2018 08:49:48 +0000 (17:49 +0900)]
Divide code regarding communication

6 years agoDivide code regarding Sensor
junkyu han [Tue, 9 Jan 2018 08:49:05 +0000 (17:49 +0900)]
Divide code regarding Sensor

6 years agoDivide code regarding view into view_xx
junkyu han [Tue, 9 Jan 2018 08:48:11 +0000 (17:48 +0900)]
Divide code regarding view into view_xx

6 years agoMerge pull request #1 from RS7-TizenReferenceSampleApplication/jjoggoba
윤진/Tizen Platform Lab(SR)/Senior Engineer/삼성전자 [Thu, 4 Jan 2018 11:42:30 +0000 (20:42 +0900)]
Merge pull request #1 from RS7-TizenReferenceSampleApplication/jjoggoba

Add code for getting accelerometer data

6 years agoAdd code for getting accelerometer data
junkyu han [Thu, 4 Jan 2018 11:34:03 +0000 (20:34 +0900)]
Add code for getting accelerometer data

6 years agoInitial commit for car-controller
junkyu han [Thu, 4 Jan 2018 05:59:43 +0000 (14:59 +0900)]
Initial commit for car-controller

6 years agofirst commit
junkyu han [Thu, 4 Jan 2018 02:14:58 +0000 (11:14 +0900)]
first commit