Skip to content

Commit

Permalink
enable separate CI tests for jazzy and rolling; remove some stray spam
Browse files Browse the repository at this point in the history
  • Loading branch information
David Conner committed Aug 27, 2024
1 parent 870fa8f commit ef92193
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/flexbe_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ jobs:
test:
strategy:
matrix:
ros: [rolling]
ros: [jazzy, rolling]
include:
- os: ubuntu-24.04
ros: rolling
python: python3
ci_branch: ros2-devel
- os: ubuntu-24.04
ros: jazzy
python: python3
ci_branch: ros2-devel

runs-on: ${{ matrix.os }}
env:
Expand Down
6 changes: 3 additions & 3 deletions flexbe_core/flexbe_core/core/operatable_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _operatable_execute(self, *args, **kwargs):

# autonomy level is high enough, report the executed transition
elif outcome is not None and outcome in self.outcomes:
Logger.localinfo(f"controlled State '{self.name}' from '{self.path}'permitting outcome '{outcome}' {self.__class__.__name__}")
# Logger.localinfo(f"controlled State '{self.name}' from '{self.path}'permitting outcome '{outcome}' {self.__class__.__name__}")
self._force_transition = False

return outcome
Expand All @@ -101,8 +101,8 @@ def _publish_outcome(self, outcome):
return

outcome_index = self.outcomes.index(outcome)
Logger.localinfo('Publish outcome: State result: %s > %s (%d) (%d) (%s)'
% (self.name, outcome, outcome_index, self.state_id, self.__class__.__name__))
# Logger.localinfo('Publish outcome: State result: %s > %s (%d) (%d) (%s)'
# % (self.name, outcome, outcome_index, self.state_id, self.__class__.__name__))
# 0 outcome status denotes no outcome, not index so add +1 for valid outcome (subtract in mirror)
self._pub.publish(Topics._OUTCOME_TOPIC, UInt32(data=StateMap.hash(self, outcome_index)))
self._pub.publish(Topics._DEBUG_TOPIC, String(data='%s > %s' % (self.path, outcome)))
Expand Down

0 comments on commit ef92193

Please sign in to comment.