JuliaRobotics / FunctionalStateMachine.jl
Showing 1 of 2 files from the diff.
Other files ignored by Codecov
Project.toml has changed.

@@ -60,6 +60,7 @@
Loading
60 60
                                breakafter::Function=exitStateMachine,
61 61
                                verbose::Bool=false,
62 62
                                verbosefid=stdout,
63 +
                                verboseXtra="",
63 64
                                iterlimit::Int=-1,
64 65
                                injectDelayBefore::Union{Nothing,Pair{<:Function, <:Real}}=nothing,
65 66
                                recordhistory::Bool=false,
@@ -67,7 +68,7 @@
Loading
67 68
  #
68 69
  st.iter += 1
69 70
  # verbose print to help debugging
70 -
  !verbose ? nothing : println(verbosefid, "FSM $(st.name), iter=$(st.iter) -- $(st.next)")
71 +
  !verbose ? nothing : println(verbosefid, "FSM $(st.name), iter=$(st.iter) -- $(st.next), $(verboseXtra)")
71 72
  # early exit plumbing
72 73
  retval = st.next != breakafter && (iterlimit == -1 || st.iter < iterlimit)
73 74
  # record steps for later
Files Coverage
src 66.67%
Project Totals (3 files) 66.67%