-
Notifications
You must be signed in to change notification settings - Fork 1
Fix clustering and model update #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
au650680
wants to merge
26
commits into
INTO-CPS-Association:main
Choose a base branch
from
au650680:fix_clustering_and_model_update
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
0cd32ae
Added clustering and mode tracking
1f711db
Added clustering and mode tracking
d34018c
Merge branch 'main' of https://github.com/au650680/example-shm
a487753
Merge branch 'main' into clustering_and_mode_tracking
62bddcd
Edits to last pull
aedc878
Bug fix and small change to plot_cluster
802139e
Small changes
9d145fd
Small changes
ee4f49a
Model update module and other changes
1e08818
Update README.md
c8ba534
Changed the typing of some arguments in some functions
e7e0926
Merge branch 'clustering_and_mode_tracking' into fix_clustering_and_m…
708df2c
Delete init file
8e8858a
Multiple changes and fixes
dedbf22
Simplifications to commit
23e1f4d
TopicsToPublish placeholder names
47da3c7
New record and replay data
bbdc720
Minor changes to comments
bbf56aa
Updated record and replay functions
d83cc29
Update model_update.py
0600840
Minor changes
afd27e1
Fixes and looping replay function
f9b3e39
Revert back to "sysid" key in configurations
8acef14
YAFEM model function is added to constants.py
67ac538
Refactor MQTT record/replay and change to model update information
e887bd4
Change recording topic to match with subscribe topic.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prasadtalasila marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,26 @@ | ||
| { | ||
| "MQTT": { | ||
| "host": "test.mosquitto.org", | ||
| "port": 1883, | ||
| "host": "", | ||
| "port": 0, | ||
| "userId": "", | ||
| "password": "", | ||
| "ClientID": "ReplaySubscriber", | ||
| "QoS": 1, | ||
| "MetadataToSubscribe": ["cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/1/acc/raw/metadata"], | ||
| "TopicsToSubscribe": [ | ||
| "cpsens/recorded/1/data", | ||
| "cpsens/recorded/1/metadata", | ||
| "cpsens/recorded/2/data" | ||
| ] | ||
| }, | ||
|
|
||
| "sysID": { | ||
| "host": "test.mosquitto.org", | ||
| "port": 1883, | ||
| "userId": "", | ||
| "password": "", | ||
| "ClientID": "sub.232.sds.213s", | ||
| "QoS": 1, | ||
| "TopicsToSubscribe": ["cpsens/d8-3a-dd-f5-92-48/cpsns_Simulator/1_2/oma_results"] | ||
| } | ||
| "cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/1/acc/raw/data", | ||
| "cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/2/acc/raw/data", | ||
| "cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/3/acc/raw/data", | ||
| "cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/4/acc/raw/data" | ||
| ], | ||
| "TopicsToPublish": { | ||
| "cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/1/acc/raw/data": "cpsens/recorded/1/data", | ||
| "cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/1/acc/raw/metadata": "cpsens/recorded/1/metadata", | ||
| "cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/2/acc/raw/data": "cpsens/recorded/2/data", | ||
| "cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/3/acc/raw/data": "cpsens/recorded/3/data", | ||
| "cpsens/d8-3a-dd-37-d2-7e/3050-A-060_sn_106209/4/acc/raw/data": "cpsens/recorded/4/data" | ||
| } | ||
| } | ||
| } | ||
|
|
||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| { | ||
| "sysid": { | ||
| "host": "", | ||
| "port": 0, | ||
| "userId": "", | ||
| "password": "", | ||
| "ClientID": "NOT_NEEDED", | ||
| "QoS": 1, | ||
| "MetadataToSubscribe": ["cpsens/recorded/1/metadata"], | ||
| "TopicsToSubscribe": [ | ||
| "cpsens/recorded/1/data", | ||
| "cpsens/recorded/2/data", | ||
| "cpsens/recorded/3/data", | ||
| "cpsens/recorded/4/data" | ||
| ], | ||
| "TopicsToPublish": ["cpsens/recorded/sysid/data"] | ||
| }, | ||
|
|
||
| "mode_cluster": { | ||
| "host": "", | ||
| "port": 0, | ||
| "userId": "", | ||
| "password": "", | ||
| "ClientID": "NOT_NEEDED", | ||
| "QoS": 2, | ||
| "TopicsToSubscribe": ["cpsens/recorded/sysid/data"], | ||
| "TopicsToPublish": ["cpsens/recorded/mode_cluster/data"] | ||
| }, | ||
|
|
||
| "model_update": { | ||
| "host": "", | ||
| "port": 0, | ||
| "userId": "", | ||
| "password": "", | ||
| "ClientID": "NOT_NEEDED", | ||
| "QoS": 2, | ||
| "TopicsToSubscribe": ["cpsens/recorded/mode_cluster/data"], | ||
| "TopicsToPublish": ["cpsens/recorded/model_update/data"] | ||
| } | ||
| } | ||
|
|
||
|
|
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.