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

feat (hardware-testing): add JIRA functionality to testing scripts #16013

Merged
merged 15 commits into from
Aug 19, 2024

Conversation

nbshiland
Copy link
Contributor

@nbshiland nbshiland commented Aug 15, 2024

Overview

This pull request adds a few new features to existing hardware testing scripts and a small bug fix.

Test Plan and Hands on Testing

I ran every new script on robots while initiating errors and trying to break them. All changes to the jira_tool script work with every current references of the script.

Changelog

First, the speed_accel_profile script can now post results and raw data to Jira and print a summary of the test outside of Jira. Next, in the "gripper_and_zmount_move" you can now change the distance, log results, and post results to a Jira ticket. Both of these script changes required a few small changes and additions to the jira_tool script. Also, both of these scripts can be used without Jira integration and outside of ABR. Lastly, a bug in the abr_robot_error script that prevented LPC data from being collected was fixed.

Review requests

Checking message statements and if some functions should be defined in different scripts.

Risk assessment

Not much, this only affects ABR and hardware testing scripts.

@nbshiland nbshiland requested review from rclarke0 and a team August 15, 2024 15:46
@nbshiland nbshiland requested a review from a team as a code owner August 15, 2024 15:46
with open(raw_path, newline="") as csvfile:
row_count = sum(1 for row in csvfile)
tot_error = 0.0
max_error = 0.0
Copy link
Contributor

Choose a reason for hiding this comment

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

remove max_error and min_error

for count in range(row_count):
row_of_interest = str(full_list[count + 1])
error = float(row_of_interest.split("'")[9])
tot_error = tot_error + error
Copy link
Contributor

Choose a reason for hiding this comment

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

replace this with mean()

@nbshiland nbshiland changed the title ABR and hardware script improvements feat (hardware-testing): add JIRA functionality to testing scripts Aug 15, 2024
@nbshiland nbshiland merged commit 322109a into edge Aug 19, 2024
7 checks passed
@nbshiland nbshiland deleted the abr_hwscript_improvements branch August 21, 2024 20:04
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.

2 participants