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

Develop a simple line following rountine #7

Open
darozak opened this issue Dec 17, 2023 · 1 comment
Open

Develop a simple line following rountine #7

darozak opened this issue Dec 17, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@darozak
Copy link
Contributor

darozak commented Dec 17, 2023

I need to use the state machine to develop a simple line following routine.

@darozak
Copy link
Contributor Author

darozak commented Dec 17, 2023

Here's what I accomplished so far:

231203 - Having provided instructions on how to set up and adjust the IR sensor, I'd like to turn now to drafting some code that will allow one state machine to pause, resume, or reset another. This will make it easy for me to create a regulator SM that determines how long the robot is running for.

231130 - Worked on getting IR sensors to work. Had to replace one and then adjust the potentiometer so that indicator LEDs went off when only when the sensor was moved over a black line. I really need to pause here and create a text/video tutorial on setting up the IR sensors.

231127 - Created a page for the Drive class and added a state machine diagram to the Line Racer Sketch.

231126 - Modified SM so that it will only run the engines for a limited amount of time. Also learned that the servo won't work if connected to pin 9. Next, I need to display the current version of the Line Racer code in the Line Racer Sketch.

231118 - Stated setting up state machine on the desktop Arduino IDE and testing it on the robot. For some reason the code is not activating both motors when I switch between left and right. Look into this.

@darozak darozak self-assigned this Dec 17, 2023
@darozak darozak added the enhancement New feature or request label Dec 17, 2023
@darozak darozak pinned this issue Dec 17, 2023
@darozak darozak unpinned this issue Jan 21, 2024
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

No branches or pull requests

1 participant