Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

DB Utility Tool #96

Merged
merged 12 commits into from
Mar 3, 2024
Merged

DB Utility Tool #96

merged 12 commits into from
Mar 3, 2024

Conversation

hhenry01
Copy link
Member

@hhenry01 hhenry01 commented Feb 25, 2024

Description

Part of UBCSailbot/sailbot_workspace#235. Enables the following operations on a database:

  • --clear: clear all documents
  • --populate: Generate a set of random sensors and global path data and stores them in the db. (Global Path not implemented)
  • --seed <uint32>: (optional) Use in conjunction with --populate if you want the same set of data.
  • --dump-sensors: Dump the latest sensors
  • --dump-global-path: Dump the latest global path (not implemented)

@patrick-5546 @jahn18 Build and try out scripts/sailbot_db to see if it meets your expectations.

Verification

  • [ ]

Resources

@hhenry01 hhenry01 added infrastructure maintenance Update or upgrade feature remote transceiver Pertaining to projects/remote_transceiver labels Feb 25, 2024
Copy link
Member

@jahn18 jahn18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, took a look - should be straightforward to convert the timestamp to ISO format on my end. Thanks for doing this!

@hhenry01 hhenry01 merged commit c679a3e into main Mar 3, 2024
12 checks passed
@hhenry01 hhenry01 deleted the user/hhenry01/db-clear-fill-tool branch March 3, 2024 06:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
infrastructure maintenance Update or upgrade feature remote transceiver Pertaining to projects/remote_transceiver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants