Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lrs_doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lrs2
lrs_doc
Commits
2b60d7ec
Commit
2b60d7ec
authored
2 years ago
by
Tommy Persson
Browse files
Options
Downloads
Patches
Plain Diff
Work on ardupilot
parent
8c18fa98
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+2
-5
2 additions, 5 deletions
README.md
with
2 additions
and
5 deletions
README.md
+
2
−
5
View file @
2b60d7ec
...
@@ -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 pr
o
bably 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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment