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

ESP GPIO State Debugging #196

Merged
merged 17 commits into from
Oct 16, 2024
Merged

ESP GPIO State Debugging #196

merged 17 commits into from
Oct 16, 2024

Conversation

pascalzauberzeug
Copy link
Contributor

@pascalzauberzeug pascalzauberzeug commented Sep 13, 2024

We needed a debugging tool to see detailed information about every ESP gpio pin.

Screenshot 2024-09-17 at 13 12 26

ToDo:

@pascalzauberzeug pascalzauberzeug added the enhancement New feature or request label Sep 13, 2024
@pascalzauberzeug pascalzauberzeug added this to the 0.17.0 milestone Sep 13, 2024
@pascalzauberzeug pascalzauberzeug self-assigned this Sep 13, 2024
@pascalzauberzeug
Copy link
Contributor Author

It's still blocked by the IDF upgrade, but @Johannes-Thiel tested the code succesfully.
Here is the code for the developer page:

from rosys.hardware import ESPPins

with ui.row():
    with ui.card().style('min-width: 200px; background-color: #3E63A6; color: white;'):
        esp_pins = ESPPins(name='core', robot_brain=system.field_friend.robot_brain)
        esp_pins.developer_ui()

    with ui.card().style('min-width: 200px; background-color: #3E63A6; color: white;'):
        esp_pins = ESPPins(name='p0', robot_brain=system.field_friend.robot_brain)
        esp_pins.developer_ui()

pascalzauberzeug added a commit to zauberzeug/field_friend that referenced this pull request Oct 14, 2024
This PR aims to reenable the row driving of the robot. This is relatet
to the new field creation and uses the fields created by the ab line
field creation.

ToDo:

- [x] wait for #188
- [x] wait for zauberzeug/rosys#204
- [x] fix the row change for small row distances (probably without the
spline tool)
- [x] tidy up row change
- [x] Fix row change for real robot with bad odometry
- [x] Row 3 of Wiese_Testfeld is driven over two times
- [x] Fix start_field_watch
- [x] write tests
- [x] Fix field outlines
- [x] Remove hardcoded fields
- [x] Remove old rows_on_field_navigation and AB-Line Navigation
- [x] Remove dev info on main page
- [x] Move ESP gpio code to zauberzeug/rosys#196

Known Issues:
- Always starts at the first row
- Can not continue a row after restart

---------

Co-authored-by: Lukas Baecker <baecker.lukas@outlook.de>
Co-authored-by: Pascal Schade <pascal@zauberzeug.com>
@pascalzauberzeug pascalzauberzeug marked this pull request as ready for review October 16, 2024 10:03
@falkoschindler falkoschindler merged commit 6a82ea1 into main Oct 16, 2024
5 checks passed
@falkoschindler falkoschindler deleted the esp_pinout branch October 16, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants