You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not worry about the specific port numbers and names as these might change.
Parser Class
Should initialize off of the name of the config file. self.config_data = load_json(self.file_name). (note load json is probably a different method name)
This is just a possible option you are free to implement it as you see fit. The only requirements here are that it is logical and easy to use.
What the data goes to.
# General Form for 1 Linpot
# Will need to call this for each list in the return list
self.linpot_df.loc[index, name] = ljm.eReadName(
self.handle, port)
# Current
self.linpot_df.loc[index, "Front Right"] = ljm.eReadName(
self.handle, "AIN1")
Questions
If you have any questions message Noel or I.
The text was updated successfully, but these errors were encountered:
BTW: This class should be atomic (or really well designed) otherwise there will be a risk of corrupting config data with access from different threads.
Config File to Initialize the Sensors
JSON File
Up to interpretation on how to implement the JSON data, but it needs to be easily parseable and logical to add to it.
Possible option:
Do not worry about the specific port numbers and names as these might change.
Parser Class
This is just a possible option you are free to implement it as you see fit. The only requirements here are that it is logical and easy to use.
What the data goes to.
Questions
If you have any questions message Noel or I.
The text was updated successfully, but these errors were encountered: