Describe this pull request. Link to relevant GitHub issues, if any.
Sometimes, if the user is teleoperating the robot over a large trajectory, the F/T sensor will trip because it has moved too much since re-taring. As of now, there is no way to perform that re-taring in the web app. This PR addresses that by adding a button to the TeleopSubcomponent, always accessible through the Info modal, that allows users to re-tare the force-torque sensor.
Explain how this pull request was tested, including but not limited to the below checkmarks.
[x] Launch the system in --sim mock.
[x] Go into the Info modal. Verify the re-tare button exists.
[x] Click the re-tare button. Go to screen -r ft. Verify the request to re-tare was received.
Future Work
Consider whether to add this to the customization pages as well.
Before creating a pull request
[x] Format React code with npm run format
[N/A] Format Python code by running python3 -m black . in the top-level of this repository
[x] Thoroughly test your code's functionality, including unintended uses.
[x] Fully test the responsiveness of the feature as documented in the Responsiveness Testing Guidelines. If you deviate from those guidelines, document above why you deviated and what you did instead.
[x] Consider the user flow between states that this feature introduces, consider different situations that might occur for the user, and ensure that there is no way for the user to get stuck in a loop.
Before merging a pull request
[ ] Squash all your commits into one (or Squash and Merge)
Describe this pull request. Link to relevant GitHub issues, if any.
Sometimes, if the user is teleoperating the robot over a large trajectory, the F/T sensor will trip because it has moved too much since re-taring. As of now, there is no way to perform that re-taring in the web app. This PR addresses that by adding a button to the
TeleopSubcomponent
, always accessible through theInfo
modal, that allows users to re-tare the force-torque sensor.Explain how this pull request was tested, including but not limited to the below checkmarks.
--sim mock
.Info
modal. Verify the re-tare button exists.screen -r ft
. Verify the request to re-tare was received.Future Work
Consider whether to add this to the customization pages as well.
Before creating a pull request
npm run format
python3 -m black .
in the top-level of this repositoryBefore merging a pull request
Squash and Merge
)