Skip to content

Commit

Permalink
minor updates for vehiclesec demo
Browse files Browse the repository at this point in the history
  • Loading branch information
gianlucascopelliti committed Feb 19, 2024
1 parent 14ee1d6 commit 3201fe5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions simulation/src/web/static/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ circle.revoked {
.revoked-ps {
margin-left: calc(50vw - 970px);
}

#myToast {
margin-right: calc(50vw - 970px);
}
}
10 changes: 5 additions & 5 deletions simulation/vehiclesec.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ DOWN_TIME=600
# Revocation parameters
T_V=15
# Vehicles, attackers and groups
NUM_VEHICLES=33
NUM_ATTACKERS=2
NUM_VEHICLES=34
NUM_ATTACKERS=1
ATTACKER_LEVEL=smarter
NUM_GROUPS=10
# Pseudonyms
NUM_PSEUDONYMS=1
PSEUDONYM_SIZE=16
PSEUDONYM_REFRESH_PERIOD=300
MIN_PSEUDONYM_LIFETIME=360000
PSEUDONYM_REFRESH_PERIOD=360000000
MIN_PSEUDONYM_LIFETIME=360000000
# Heartbeats and V2V messages
HEARTBEAT_DISTRIBUTION_PERIOD=1
HEARTBEAT_GENERATION_PERIOD=1
Expand All @@ -39,7 +39,7 @@ RSU_DROP_RATE=0.4
RSU_DELAY_RATE=0.4
# Reporter parameters
REPORT_MALICIOUS_ONLY=1
REPORT_PERIOD=10
REPORT_PERIOD=360000000
REPLAY_RATE=0.3
# Web app parameters
THRESHOLD_MALICIOUS=2
Expand Down

0 comments on commit 3201fe5

Please sign in to comment.