Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PreFlight #1157

Merged
merged 30 commits into from
Mar 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f0523a1
Created Preflight node and checks if running in simulation
Sep 26, 2023
498a693
added test file
aaliao Oct 5, 2023
0023656
Moved Preflight files to their own folder
Oct 5, 2023
7e68619
menu add
aaliao Oct 10, 2023
76a8024
Added File IO
Josht8601 Oct 17, 2023
8c6b83e
Working on Read function
Josht8601 Oct 17, 2023
e7a4f26
Added the functionality to test topics
Josht8601 Oct 19, 2023
f4877b4
Imported File IO into main preflight script
Josht8601 Oct 19, 2023
3cd9717
added UI functionality
aaliao Oct 24, 2023
305ea93
Updated File IO for hardware and Software
Josht8601 Oct 24, 2023
624daa2
Merge branch 'PreFlight' of github.com:uf-mil/mil into PreFlight
Josht8601 Oct 24, 2023
f5e5a08
converted to typer, for a more cli solution
Jan 22, 2024
93fd1c6
converted to typer, for a more cli solution
Jan 29, 2024
99a7aa6
Created Program flow and menus
Feb 2, 2024
2d0956b
reorganized preflight for pip package
aaliao Feb 6, 2024
871984e
reorganized preflight package
aaliao Feb 6, 2024
51be3b6
Fix actuators and switched to alias instead of pip package
Feb 7, 2024
cdad43f
Added more UI
Feb 16, 2024
47ef621
Organized files and added comments
Feb 16, 2024
f85eddc
Removed Typer from requirements.txt
Feb 16, 2024
afc6e30
added readme, updated main to run documentation
aaliao Feb 20, 2024
1558626
Merge remote-tracking branch 'origin/master' into PreFlight
Feb 23, 2024
da1528a
Testing changes
andrespulido8 Feb 23, 2024
34c0224
Merge remote-tracking branch 'origin/master' into PreFlight
Mar 17, 2024
270a1cc
starting to add axros
Mar 17, 2024
3ef5592
Finished implementing axros
Mar 18, 2024
bb1dccf
Code Refactoring. Added Docs to website
Mar 28, 2024
988ef99
Added Rich to requirements.txt
Mar 29, 2024
f2e46cf
Move Preflight docs to software docs instead of reference docs
cbrxyz Mar 30, 2024
e945c92
Merge branch 'master' into PreFlight
cbrxyz Mar 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Created Preflight node and checks if running in simulation
keithmk authored and keithmk committed Sep 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit f0523a1a739296ad70880fd2922f019c5d071cfa
14 changes: 14 additions & 0 deletions mil_common/utils/mil_tools/scripts/preflight.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env python3
import rospy

# Use Rich for nice printing
if __name__ == "__main__":
# Initialize the Preflight Node
rospy.init_node("preflight")

print("Checking for Gazebo")
# Check if the Gazebo Node exists
if rospy.get_param("/is_simulation", None):
print("Running a Simulation")
else:
print("Running for real")