Software icon indicating copy to clipboard operation
Software copied to clipboard

Fsm debug window

Open GrayHoang opened this issue 3 months ago • 2 comments

Description

This is built off of PR #3481 I use Boost::SML logging capabilities to expose the guard calls and state transitions that our AI undergoes as it is moving through each state machine

image I have some commented out code and stuff still, this is not done and I just want some feedback on existing design choices.

Testing Done

Thunderscope runs with similar performance as before, messages seem to line up with robot id

Resolved Issues

I have no idea if this resolves any issues :/ but it will probably make debugging easier

Length Justification and Key Files to Review

Look at sml_fsm.h especially I think

Review Checklist

It is the reviewers responsibility to also make sure every item here has been covered

  • [ ] Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
  • [ ] Remove all commented out code
  • [ ] Remove extra print statements: for example, those just used for testing
  • [ ] Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue

GrayHoang avatar Aug 29 '25 23:08 GrayHoang

Oh the commit history is super duper messy sorry...

GrayHoang avatar Aug 29 '25 23:08 GrayHoang

Yeah I've got some plans to make a better UI but I just have not found the time to think about it further

GrayHoang avatar Oct 20 '25 07:10 GrayHoang