Skip to content
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

[SYSID] [Motor Test] add a py script to analyze motor_test data #591

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

Li-Jinjie
Copy link
Contributor

@Li-Jinjie Li-Jinjie commented Jan 31, 2024

What is this

Add a Python script to analyze the motor_test data. Aim to replace the excel we used.

Details

usage: python analyze_data.py [-h] [--set_voltage SET_VOLTAGE] [--folder_path FOLDER_PATH] file_name has_telemetry

positional arguments:
file_name file name
has_telemetry has telemetry, 0 or 1

optional arguments:
-h, --help show this help message and exit
--set_voltage SET_VOLTAGE
the voltage set in the test, float
--folder_path FOLDER_PATH
path to folder

The default folder path is '~/.ros/'

Usage Demo:

python analyze_data.py u=25.20v_motor_test_1706621604.txt 1

Image

Figure_1

@tongtybj tongtybj requested a review from sugikazu75 January 31, 2024 06:12
@tongtybj
Copy link
Collaborator

Awesome! Thanks @Li-Jinjie

@sugikazu75 @sugihara-16 Please try this script and add your modification for better usage

@Li-Jinjie Li-Jinjie changed the title add a py script to analyze motor_test data [Motor Test] add a py script to analyze motor_test data Jan 31, 2024
@Li-Jinjie Li-Jinjie changed the title [Motor Test] add a py script to analyze motor_test data [SYSID] [Motor Test] add a py script to analyze motor_test data Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants