Skip to content
Snippets Groups Projects
Commit 2b60d7ec authored by Tommy Persson's avatar Tommy Persson
Browse files

Work on ardupilot

parent 8c18fa98
No related branches found
No related tags found
No related merge requests found
...@@ -302,7 +302,6 @@ the ExecutorFactory class for a node type. ...@@ -302,7 +302,6 @@ the ExecutorFactory class for a node type.
Example of how to implement an expandable executor for in-air-goal: Example of how to implement an expandable executor for in-air-goal:
```python ```python
from lrs_exec.executors.seq import SeqExecutor
from lrs_exec.executor_factory import ExecutorFactory from lrs_exec.executor_factory import ExecutorFactory
from lrs_util.jsonutil import * from lrs_util.jsonutil import *
...@@ -311,9 +310,6 @@ class InAirGoalExecutorFactory(ExecutorFactory): ...@@ -311,9 +310,6 @@ class InAirGoalExecutorFactory(ExecutorFactory):
def __init__(self): def __init__(self):
super().__init__("in-air-goal", expandable=True) super().__init__("in-air-goal", expandable=True)
def get_executor(self, node, id):
return SeqExecutor(node, id)
def json_expand(self, node_json): def json_expand(self, node_json):
res = "" res = ""
if not self.expandable: if not self.expandable:
...@@ -355,7 +351,7 @@ See: https://gitlab.liu.se/lrs2/lrs_doc/-/blob/main/communication.md ...@@ -355,7 +351,7 @@ See: https://gitlab.liu.se/lrs2/lrs_doc/-/blob/main/communication.md
## 2.1 Preparations ## 2.1 Preparations
Install ROS2 humble (will prbably work in galactic also). See: Install ROS2 humble (it will probably work in galactic also). See:
https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html
...@@ -373,6 +369,7 @@ git clone https://gitlab.liu.se/lrs2/lrs_exec.git ...@@ -373,6 +369,7 @@ git clone https://gitlab.liu.se/lrs2/lrs_exec.git
git clone https://gitlab.liu.se/lrs2/lrs_util.git git clone https://gitlab.liu.se/lrs2/lrs_util.git
git clone https://gitlab.liu.se/lrs2/lrs_wdb.git git clone https://gitlab.liu.se/lrs2/lrs_wdb.git
git clone https://gitlab.liu.se/lrs2/lrs_turtle.git git clone https://gitlab.liu.se/lrs2/lrs_turtle.git
git clone https://gitlab.liu.se/lrs2/lrs_ardupilot.git
``` ```
Make sure that the following is installed: Make sure that the following is installed:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment