error in task 6 of robotic vacuum stateflow
Mostra commenti meno recenti

says that the transition is not correct, but is the same as the solutionRisposte (2)
Divyajyoti Nayak
il 26 Ago 2024
0 voti
I understand that you are going through the ‘Stateflow Onramp’ course and facing this issue.
I went through this section of the course and found that your transition from ‘Vacuum’ state to ‘SeekDock’ state is incorrect as you have used the AND operator (&&) instead of the OR operator (||) for the transition condition.
Srinivasan
il 13 Gen 2025
0 voti
Hello, I'm also facing the same issue even though, I used the OR (||) operator.

2 Commenti
Himanshu Dhande
il 12 Feb 2025
I faced the similar issue while completing this course. Check if the condition defined is [requestMode == 1 || complete == 1]. Make sure the brackets and the OR (||) are used/placed correctly.
Srinivasan
il 17 Feb 2025
Modificato: Srinivasan
il 17 Feb 2025
Yes, My isssue has been resolved now, need to connect [SOC >=97] from the Charge state not the SeekDock state.
Categorie
Scopri di più su Stateflow in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!