Commit Graph

495 Commits

Author SHA1 Message Date
emanuel fee7bd59a7 Changed DCM to PCM 2022-02-22 10:12:54 +00:00
emanuel fe347cd24b Modify DCM vehicle dimensions 2022-02-21 14:40:49 +00:00
emanuel dd1c494fe8 Fix previous commit 2022-02-17 16:41:58 +00:00
emanuel e2c3dcd906 Microseconds tolling timestamps for test results 2022-02-17 12:45:24 +00:00
emanuel f17838cdca DCM acceptedTrajectoriesIds 2022-02-16 19:03:53 +00:00
emanuel e21ad9ee0f Fix prev bad merge 2022-02-16 14:32:55 +00:00
emanuel 648c4ab06c Merge remote-tracking branch 'refs/remotes/origin/master' 2022-02-16 14:31:14 +00:00
emanuel ddd0f012b7 Tolling payment min period 2022-02-16 14:30:10 +00:00
emanuel f93d83438b DCM neighbour mgmt effortsNeighbour mgmt efforts 2022-02-15 18:14:56 +00:00
emanuel eea1f89a55 DCM comm efforts 2022-02-14 18:35:44 +00:00
emanuel 158da9f831 Send DCM request on intersection 2022-02-14 16:54:35 +00:00
emanuel 16c8f385e1 DCM requests 2022-02-11 17:28:48 +00:00
emanuel 54d5b968bc Change DCM intersect info 2022-02-10 18:05:34 +00:00
emanuel bf2ba4604c Switch to haversine in DCM intersection check 2022-02-10 17:49:28 +00:00
emanuel 148eb02636 Very simple vehicle intersection 2022-02-10 17:06:56 +00:00
emanuel d51d7faeed Update vehicles dims to now ASN DCM structure 2022-02-09 15:18:12 +00:00
emanuel 329aaf5209 Add vehicle dims to DCM 2022-02-09 14:51:21 +00:00
emanuel 831b9d6d80 Fix DCM own trajectory copy 2022-02-09 13:45:32 +00:00
emanuel 07cdd27bcd Remove vehicle dims in DCM 2022-02-09 13:06:33 +00:00
emanuel 13a3a7a943 Remove unecessary DCM path intersect check var 2022-02-09 12:30:38 +00:00
emanuel c9819fbb4a Add vehicle dimensions to DCM 2022-02-09 12:15:23 +00:00
emanuel 55d6488c41 Fix DCM intersecting time 2022-02-09 11:47:16 +00:00
emanuel 258190395e Fix CPM objID going oob 2022-02-08 18:03:18 +00:00
Emanuel Vieira 0fb45843d2 CPM test 2022-02-08 17:30:22 +00:00
Emanuel Vieira 694603af46 Revert "CPM test"
This reverts commit 2f362dd50d
2022-02-08 17:13:52 +00:00
Emanuel Vieira 2f362dd50d CPM test 2022-02-08 16:34:15 +00:00
emanuel 01688d9a75 Remove unecessary syslog 2022-02-07 18:11:16 +00:00
emanuel 6ee35b45b5 Fix DCM trajectory check 2022-02-07 18:05:39 +00:00
emanuel 9c2809a3ff DCM intersection check 2022-02-07 17:22:16 +00:00
emanuel 9982b5c5f8 Initial request trajectory only if DCM active 2022-02-04 16:49:59 +00:00
emanuel c66539eaeb Simulated trajectory efforts 2022-02-04 16:15:18 +00:00
emanuel 85ca6df0c9 DCM efforts 2022-02-03 18:30:24 +00:00
emanuel 46436a03bb DCM efforts 2022-02-02 16:35:42 +00:00
emanuel 5bd3925504 SAEM forwarding, documentation 2022-01-27 17:18:17 +00:00
emanuel e497628e7d Merge remote-tracking branch 'refs/remotes/origin/master' 2022-01-27 13:35:17 +00:00
emanuel d6a6f0f1fd Polygonal tolling zones 2022-01-27 13:34:28 +00:00
Emanuel Vieira 10ec331740 Initialize rv in dissemination_check() 2022-01-21 11:20:49 +00:00
David Rocha 4407fe2a84 bugfix 2022-01-20 16:57:48 +00:00
David Rocha 0b187d19b2 bugfixes 2022-01-20 15:32:12 +00:00
David Rocha f4f9ab8359 check for valid shmem values 2022-01-20 13:46:21 +00:00
emanuel 0205c1b16a TPM verify signatures 2022-01-19 17:28:11 +00:00
David Rocha e718128aa5 merge? 2022-01-18 21:52:24 +00:00
David Rocha 935fa8c438 add obd value mem alloc and assign to its cam fields 2022-01-18 21:49:23 +00:00
Emanuel Vieira 7cdec6c284 Turn use_obd back on 2022-01-18 20:30:02 +00:00
emanuel 385e965c6f TPM sign 2022-01-18 17:52:46 +00:00
David Rocha e9dfc7764f add cam parameters init, still needs mem alloc 2022-01-18 16:30:00 +00:00
David Rocha 30903efa5a change obd shmem validation location 2022-01-18 15:09:01 +00:00
emanuel 236c16fb1f Add O_CREAT flag to shm open in mk_cam 2022-01-17 13:22:29 +00:00
emanuel 025c6308d2 Merge remote-tracking branch 'refs/remotes/origin/master' 2022-01-17 13:00:10 +00:00
emanuel d8489df7d8 Check tolling zone 2022-01-17 12:59:36 +00:00
David Rocha b6fc0eeadd add can bus shmem readings; still have to decide what to process 2022-01-14 18:22:22 +00:00
emanuel b253e3de6c Tolling zones in SAEM 2022-01-14 17:59:21 +00:00
emanuel e00d7fc88c SAEM save neighbour sec ID 2022-01-10 17:58:39 +00:00
emanuel 63567a5f74 TPM print neighbour security ID info 2022-01-10 11:43:32 +00:00
Marco Correia 76d655c16a No more static variables in the parse function of the radar 2022-01-05 10:47:36 +00:00
emanuel aae6772b56 Merge remote-tracking branch 'refs/remotes/origin/master' 2022-01-04 16:58:44 +00:00
emanuel 79de90bdc6 TPM recv neighbour ID 2022-01-04 16:58:02 +00:00
Marco Correia d495925f2e Changed needed variables to static (CP Service) 2021-12-27 18:01:28 +00:00
Marco Correia 30397c9fb8 Moved global variables into the service 2021-12-27 15:46:56 +00:00
emanuel c23724fe51 Merge remote-tracking branch 'refs/remotes/origin/master' 2021-12-22 16:54:35 +00:00
emanuel 70bb5bf9ee Handle [networking] indications 2021-12-22 16:53:24 +00:00
Marco Correia 29677f248e Remove unnecessary thread control 2021-12-22 15:47:02 +00:00
Marco Correia 71dfbf83c4 Update cpm.c 2021-12-22 14:58:03 +00:00
emanuel bcb420990b it2s-asn securityProfile compatibility 2021-12-21 19:05:59 +00:00
emanuel aec88625a1 Misc tolling improvements 2021-12-16 16:51:32 +00:00
emanuel 5b6c6a6ced Misc TPM fixes 2021-12-15 18:54:02 +00:00
emanuel ea77c982ba Handle incoming SAEM various tolling protocols 2021-12-13 16:51:36 +00:00
emanuel 24d88ec84d Simple tolling efforts 2021-12-13 12:04:08 +00:00
emanuel 90e69c2239 Simple tolling efforts 2021-12-10 16:41:50 +00:00
emanuel 9a9b50b9a8 Change radar rotation config field name 2021-11-30 17:58:15 +00:00
emanuel 4e0bcaeda1 tcp replies 2021-11-25 16:27:21 +00:00
emanuel 2d1696548a Reduce mk_cam encoding calls 2021-10-26 14:20:00 +01:00
Marco Correia 2a9bf03d67 OBU publish his own CAMs on local and central broker 2021-09-14 15:58:14 +01:00
emanuel 388298d80d Merge branch 'master' of https://gitlab.es.av.it.pt/its/it2s-itss-facilities 2021-09-09 12:05:57 +01:00
emanuel 53ec48c1e7 Update position values while mking CPMs 2021-09-09 12:05:12 +01:00
Marco Correia 1502a698d4 CPM generation interval 2021-09-08 14:46:56 +01:00
Marco Correia 6fabbf9741 Fixed maximum detected objects that the radar can detect 2021-09-07 15:48:17 +01:00
emanuel dea7a685ac Forward incoming TLS messages to [security] 2021-09-03 17:16:23 +01:00
emanuel 866eb427f5 Load own IPv6 addr on fixed id 2021-09-02 16:40:55 +01:00
emanuel da5b2cb482 Merge branch 'master' of https://gitlab.es.av.it.pt/its/it2s-itss-facilities 2021-09-02 15:29:46 +01:00
emanuel 4086995a15 Recv SAEM trigger TLS 2021-09-02 15:29:07 +01:00
Marco Correia cf1eb85c95 Getting radar interface state before assigning sockets 2021-08-30 18:04:37 +01:00
Marco Correia 44135c4882 Changes to last commit 2021-08-27 18:14:06 +01:00
Marco Correia 1e3765e53b Revoked 4e072faf. Assure connection to the Radar 2021-08-24 17:35:00 +01:00
emanuel d42f0c76a1 [security] managed identity 2021-08-24 15:30:08 +01:00
emanuel e5fef64fd0 Misc 2021-08-20 17:52:08 +01:00
emanuel 1b0c31f9bb Correct recv sdu length, fix SAEM SDU creation 2021-08-16 14:57:04 +01:00
emanuel 9e1896ef92 Support for new SDUs 2021-08-12 10:26:24 +01:00
emanuel 97df23f3f4 Fix saem sleep 2021-07-26 12:38:36 +01:00
emanuel bf51bd0eae Timed mk_saem 2021-07-23 16:57:21 +01:00
emanuel 4247a050a1 Config triggered SAEMs 2021-07-23 16:52:12 +01:00
emanuel 89549fa7ac Config triggered SAEMs 2021-07-23 16:49:26 +01:00
emanuel b3b2e15d93 Support yet another SAEM mod 2021-07-15 10:47:34 +01:00
emanuel 8070a4c11b Trigger TCP conn on ETC service 2021-07-14 17:39:29 +01:00
emanuel 796fdeab67 Initial effort to support [transport] various protocols 2021-07-13 15:56:44 +01:00
emanuel 268e245679 Merge branch 'master' of https://gitlab.es.av.it.pt/its/it2s-itss-facilities 2021-07-05 18:27:57 +01:00
emanuel c75624d8ca Add confidence values to GPS coords, calculate CAM pos confidence 2021-07-05 18:26:59 +01:00
Marco Correia 4e072faf67 Assure connection to the radar when RSU boots up 2021-07-05 15:56:49 +01:00
Marco Correia 6575744cd3 CPM generation frequency management added 2021-07-02 10:51:00 +01:00
emanuel a22a723fca Heartbeats v2 2021-07-01 15:39:08 +01:00
emanuel 1a76fd89cb Save IVIM_t struct upon new IVIM 2021-06-22 14:02:08 +01:00
emanuel 1a44f6040c Fix SAEM encoded size 2021-06-15 13:29:40 +01:00
emanuel d84794d539 SAEM compounded consts 2021-06-14 18:06:08 +01:00
emanuel aace2a33db Modded SAEMs 2021-06-14 17:41:16 +01:00
emanuel 64962a0646 SAEM service 2021-06-11 11:17:22 +01:00
emanuel a52f8d3bb1 Merge branch 'master' of https://gitlab.es.av.it.pt/its/it2s-itss-facilities 2021-06-08 17:10:49 +01:00
emanuel af5cb92560 Handle new IVIM build 2021-06-08 17:03:36 +01:00
Marco Correia 91792d00e1 Merged encode_cpm routine into mk_cpm. Deleted unnecessary variables 2021-06-07 16:34:05 +01:00
emanuel dd2c7d12b5 Check SAEMs 2021-06-05 16:19:55 +01:00
Marco Correia f2915d82b7 Get GPS from module : CPMs 2021-05-31 19:30:43 +01:00
Marco 0f51267e03 Interface and IP from toml reading fixed 2021-05-28 15:07:26 +01:00
Marco 823d9df423 Fixes to last commit 2021-05-26 17:18:00 +01:00
Marco f08c25812f Radar IP and Interface are now in the toml file 2021-05-26 17:09:30 +01:00
Marco 64f9b91035 Minor fixes to GPS coordenates to CPM generation 2021-05-26 11:13:42 +01:00
Marco 11f519fe67 CPM generation can work without TMC software 2021-05-26 10:59:42 +01:00
emanuel 7d16f0525e Convert GPS coords to angular in check_pz 2021-05-21 16:43:26 +01:00
emanuel a56d15cb1f Fix rad2deg conversion in check pz 2021-05-21 15:52:03 +01:00
Marco ae9194665e Remove unnecessary variables and structures 2021-05-21 14:50:19 +01:00
emanuel 71441e1587 Support for modified MGMT ASN 2021-05-19 18:42:27 +01:00
emanuel 66cf83efe0 Test CI 2021-05-17 16:04:09 +01:00
emanuel 69c53c51c3 Test CI 2021-05-17 16:01:02 +01:00
emanuel 4ed977f69f Test CI 2021-05-17 15:57:32 +01:00
emanuel a99a2e6dce Fix OBU PZ saving 2021-05-15 14:34:36 +01:00
emanuel 6a9f7a07bc Reduce denm debug logging freq 2021-05-14 16:53:29 +01:00
emanuel f1e2bd9fe1 Merge branch 'master' of https://gitlab.es.av.it.pt/its/it2s-itss-facilities 2021-05-14 16:51:30 +01:00
emanuel 03df1ad7e4 Remove default-event-duration 2021-05-14 16:50:56 +01:00
Marco 46b92713d9 Speed and Distance values changed (Standard) 2021-05-14 11:36:35 +01:00
emanuel f800caaef5 Remove it2s-btp include in facilities 2021-05-13 15:04:43 +01:00
emanuel 5cfd0b2c5e Remove it2s-tiles include in config 2021-05-13 15:02:59 +01:00
emanuel 80f5ed829a Config the several station types, CAM vehicle dimensions 2021-05-10 17:50:40 +01:00
emanuel 79a66dd0de Send stationID to [management] 2021-05-10 12:33:26 +01:00
emanuel b7ea3981bf Time, gps manipulation 2021-04-30 19:16:33 +01:00
emanuel f07f47a193 Removed cpm unused variables 2021-04-24 20:44:26 +01:00
emanuel 642d632f02 Merge branch 'master' into cpm_dev 2021-04-24 20:26:56 +01:00
emanuel 5f6c758733 Time manipulation first efforts 2021-04-24 20:25:55 +01:00
Marco 2cd4a1c48a Added FacilitiesDataIndication forward (CPM) 2021-04-23 17:16:27 +01:00
emanuel 919aaad6fc Compatibility with updated it2s-asn 2021-04-23 15:58:48 +01:00
Marco ae5701bb87 Added the ability for radar to reconnect (CPM) 2021-04-23 15:47:39 +01:00
emanuel 88015dc131 Permissions check debug, dont fwd up bad msgs 2021-04-22 18:29:49 +01:00
emanuel e2235a69ec ID change enhancements 2021-04-21 19:08:40 +01:00
emanuel 3ff7b812fe Unlock lightship upon ID change abort 2021-04-20 19:56:52 +01:00
Marco fe7a7c0c03 Fixes to last commit 2021-04-20 15:17:02 +01:00
Marco c369f434d3 CPM thread control 2021-04-20 15:11:03 +01:00
Marco 180fd4766b Added necessary files for last commit 2021-04-20 11:59:23 +01:00
Marco 4d5d859453 CPM integration with initial dissemination control functions 2021-04-20 11:35:36 +01:00
emanuel 73a0b06a04 Dont free unhandled BDI message types 2021-04-16 17:26:35 +01:00
emanuel d721e90c1b Remove DENM permissions error message 2021-04-08 17:23:30 +01:00
emanuel a250e5ae49 Fix DENM, IVIM permissions checking 2021-04-08 17:21:19 +01:00
emanuel c65f7ca77c Fix CAM permissions 2021-04-08 16:38:33 +01:00
emanuel 477206d065 Change SSP format 2021-04-08 14:30:55 +01:00
emanuel 071be441c1 Reduce info logs frequency from T=1s to T=5s 2021-04-08 12:03:26 +01:00
emanuel 6a98a26fc5 CAM longitudinal acceleration 2021-04-06 00:27:13 +01:00
emanuel 6b2577c631 Exit if no valid address to listen to 2021-03-27 16:33:45 +00:00
emanuel f80f67c1bf New management svc, distributed services, new config lib 2021-03-26 21:57:47 +00:00
emanuel c569b2c725 Faciliites requests code isolation 2021-03-12 21:45:09 +00:00
emanuel cf8b0dc5fa Set event trace in OBU (App) generated DENMs 2021-03-12 14:27:41 +00:00
emanuel 80e532aefd CAM pathHistory 2021-03-11 18:24:32 +00:00
emanuel a81188976a Variable CAM frequency 2021-03-10 21:34:45 +00:00
emanuel 74b514eff3 Disable CAMs option 2021-03-10 15:11:15 +00:00
emanuel 60b061e5b3 IVIM permissions 2021-03-05 22:12:11 +00:00
emanuel 4ca9572932 CAM permissions 2021-03-05 17:54:01 +00:00
emanuel 702e4b75cd DENM permissions 2021-03-05 15:26:27 +00:00
emanuel e55a3782a5 GPS fixed 2020-12-17 12:32:13 +00:00
emanuel ac8b0e24fb Change DENM header stationID 2020-12-14 15:18:32 +00:00
emanuel e1a3c3e8ca Protected zone load debug 2020-12-02 17:01:01 +00:00
emanuel 943a976cae Add PZs expiry time logic 2020-12-01 13:27:20 +00:00
emanuel 50aeeea0d0 Fix empty PZs 2020-11-30 21:27:14 +00:00
emanuel 95289ebcde Fix PZ checks 2020-11-30 21:14:14 +00:00
emanuel 8ec2bd2642 Ignore some files in PZ 2020-11-30 20:13:43 +00:00
emanuel 1da612443b Let OBUs check CAMs 2020-11-30 20:05:24 +00:00
emanuel 18ae6f1182 Protected zones 2020-11-30 19:35:20 +00:00
emanuel 8a9aed7fcd Fix non forwarded IVIMs, ad default service duration 2020-11-25 14:29:49 +00:00
emanuel 67d13542fa Remove DENMs cause codes logic 2020-11-25 13:19:35 +00:00
emanuel cf97d7e00d Use security 2020-11-20 17:45:33 +00:00
emanuel eb89fea1f1 New configs 2020-11-19 14:12:34 +00:00
emanuel e2e66d12fe StationID change, gitlab CI 2020-11-17 23:16:56 +00:00
emanuel a5a320cf94 Added .service 2020-11-06 14:18:16 +00:00
emanuel 2bb7010dca Attr request support pt II 2020-11-05 19:03:11 +00:00
emanuel 7ed9820f69 IVIMs part II 2020-11-04 19:24:01 +00:00
emanuel a6c55c090c Packet cancellation, IVIMs 2020-11-03 19:48:30 +00:00
emanuel 2aa194b18f Remove test packet transmission var settings 2020-10-31 15:28:44 +00:00
emanuel e30a60c6b8 Packet repetition 2020-10-31 15:26:57 +00:00
emanuel 7caf37b3f3 RSU, OBU CAM stuff 2020-10-30 19:02:35 +00:00
emanuel 4f2a6e6fea Config file 2020-10-29 18:24:59 +00:00
emanuel aaf157b7ee TX queue cond based 2020-10-27 19:21:51 +00:00
emanuel 13da236104 New TX queue 2020-10-26 19:40:15 +00:00
emanuel e1b0521b19 . 2020-10-24 23:33:19 +01:00
emanuel dec270f337 Added missing response to [itss] 2020-10-21 12:26:19 +01:00
emanuel 7136fe195c Applications DENM support 2020-10-20 20:12:28 +01:00
emanuel 96605b5c3a Heartbeat support 2020-10-19 18:41:02 +01:00
emanuel 0518f44b9f Event mgmt pt II 2020-10-16 19:22:32 +01:00
emanuel 817bacca16 Added DENM mgmt 2020-10-12 19:22:22 +01:00
emanuel 0aa785b088 Yeah buddy 2020-10-10 01:21:52 +01:00
emanuel 2ee1b68f4e CAM generation 2020-10-08 19:44:33 +01:00
emanuel e54d67e4ac Initial commit 2020-10-07 20:02:35 +01:00