Example play to FSM#3402
Conversation
Remove Qt dependency from ER Force Simulator (UBC-Thunderbots#3311)
Merge main project to own branch
…cessary Files still need to be refactored, which will be done in the next commit
… `halt_tactic.h`, renaming variables and strings where necessary Variables and strings renamed for consistency and to allow tests to successfully run
…t`, renaming where necessary
`example_play_fsm.cpp` and associated files have not been implemented; planned to be implemented next commit
Still giving errors, as `example_play_fsm.cpp` has not been implemented
…play-to-fsm # Conflicts: # src/software/ai/hl/stp/play/example/example_play_fsm.h
Debugging still necessary, as the `example_play_test.cpp` is not passing
test case works now yippee
williamckha
left a comment
There was a problem hiding this comment.
Great work! The FSM looks good to me, just two comments
…2060/UBC-Thunderbots-Software into exampleplay-to-fsm
…into exampleplay-to-fsm
| cc_library( | ||
| name = "all_plays", | ||
| deps = [ | ||
| <<<<<<< HEAD |
There was a problem hiding this comment.
looks like you've got merge conflict markers in here. Needs merge conflict fixing
| from proto.ssl_gc_common_pb2 import Team | ||
|
|
||
|
|
||
| # TODO issue #2599 - Remove Duration parameter from test |
There was a problem hiding this comment.
this issue does not seem to exist. we may not need it
| [RobotSpeedEventuallyBelowThreshold(1e-3)] | ||
| ], | ||
| ag_always_validation_sequence_set=[[]], | ||
| ag_eventually_validation_sequence_set=[ | ||
| [RobotSpeedEventuallyBelowThreshold(1e-3)] | ||
| ], | ||
| test_timeout_s=10, |
There was a problem hiding this comment.
instead, I think you should assert that the robots come within a 1 m radius of the ball
itsarune
left a comment
There was a problem hiding this comment.
looks like you have a bad merge that you need to fix
|
This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
|
This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
GrayHoang
left a comment
There was a problem hiding this comment.
Previous approval carries forward
Please fill out the following before requesting review on this PR
Description
Converts the Example Play from a co-routine to an FSM.
The example play was moved to its own folder, with appropriate BUILD files modified. This was done to maintain consistency with other FSMs.
Testing Done
example_play_test.cppsuccessfully passed, and Example Play successfully ran on Thunderscope.Resolved Issues
resolves #3298
Length Justification and Key Files to Review
example_play.cppand corresponding.hfileexample_play_fsm.cppand corresponding.hfileexample/BUILDReview Checklist
It is the reviewers responsibility to also make sure every item here has been covered
.hfile) should have a javadoc style comment at the start of them. For examples, see the functions defined inthunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.TODO(or similar) statements should either be completed or associated with a github issue