Skip to content

Commit

Permalink
Merge branch 'suave_extended'
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezenders committed Jan 20, 2024
2 parents b2b7017 + d19afb3 commit 2da547c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/dockerfile-suave
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ WORKDIR $HOME
# Install ArduSub
RUN git clone https://github.com/ArduPilot/ardupilot.git
WORKDIR $HOME/ardupilot
RUN git checkout 94ba4ece5f9ccdf632b95938f8e644a622f5ee75
RUN git checkout e9f46b9
RUN git submodule update --init --recursive
RUN rm $HOME/ardupilot/Tools/environment_install/install-prereqs-ubuntu.sh
RUN wget -P $HOME/ardupilot/Tools/environment_install/ https://raw.githubusercontent.com/ArduPilot/ardupilot/c623ae8b82db4d7e195f4b757e2ae5d049f941e5/Tools/environment_install/install-prereqs-ubuntu.sh
Expand Down
6 changes: 5 additions & 1 deletion suave/suave/task_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ def task_request(self, req, forward_request):
function_names = self.task_functions_dict[req.task_name]
success = True
for function in function_names:
success = forward_request(function) and success
forward_request_result = forward_request(function)
if type(forward_request_result) is bool:
success = forward_request(function) and success
else:
success = False
response.success = success
except Exception as e:
self.get_logger().error(
Expand Down

0 comments on commit 2da547c

Please sign in to comment.