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

[ONAV-2028] Add assisted teleop messages #31

Merged
merged 6 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@ find_package(catkin REQUIRED

add_message_files(
FILES
AssistedTeleopState.msg
ObstacleMap.msg
Safety.msg
WatchdogStatus.msg
)

add_service_files(
FILES
BypassProtection.srv
)

generate_messages(
DEPENDENCIES
std_msgs
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Assisted teleoperation message indicating the current state of the protection

uint8 BYPASS_OFF = 0
uint8 BYPASS_SERVICE = 1
uint8 BYPASS_JOYSTICK_OVERRIDE = 2
uint8 BYPASS_SENSOR_TIMEOUT = 3

bool bypassed
uint8 bypass_trigger

bool collision_imminent
bool assisted_stop
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Assisted teleoperation message indicating the threat level of obstacles surrounidng the platform

float32[] threat_level
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Should protection of all inputs be bypassed?
bool bypass

---

# True if we successfully bypassed the protection of the inputs.
# False if there was an error
bool success
string message
Loading