Skip to content

Commit

Permalink
Improve info page
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Feb 20, 2025
1 parent 7d6caad commit 973c619
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nanosaur/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ def print_simulation_tool():
isaac_sim_version = vf.read().strip().split('-')[0] # Read the version from the VERSION file and cut after the first '-'
text_message = f"{TerminalFormatter.color_text(' selected:', bold=True)} {simulation_data['tool']} {isaac_sim_version}"
print(text_message)
world_md = simulation_data.get('world', 'empty')
world_string = TerminalFormatter.color_text(world_md, color='cyan')
print(f"{TerminalFormatter.color_text(' World:', bold=True)} {world_string}")
headless_md = simulation_data.get('headless', False)
headless_string = TerminalFormatter.color_text('enabled', color='green') if headless_md else TerminalFormatter.color_text('disabled', color='red')
print(f"{TerminalFormatter.color_text(' Headless mode:', bold=True)} {headless_string}")
Expand Down

0 comments on commit 973c619

Please sign in to comment.