Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Alberto Ruiz Garcia
Firmware
Commits
cb8a2b53
Commit
cb8a2b53
authored
6 years ago
by
Hamish Willee
Committed by
Daniel Agar
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add Plane VTail to image group metadata
parent
e6d78b89
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Tools/px4airframes/markdownout.py
+2
-3
2 additions, 3 deletions
Tools/px4airframes/markdownout.py
Tools/px4airframes/srcparser.py
+2
-0
2 additions, 0 deletions
Tools/px4airframes/srcparser.py
with
4 additions
and
3 deletions
Tools/px4airframes/markdownout.py
+
2
−
3
View file @
cb8a2b53
...
...
@@ -30,9 +30,8 @@ class MarkdownTablesOutput():
# Display an image of the frame
image_name
=
group
.
GetImageName
()
result
+=
'
<div>
\n
'
if
image_name
!=
'
AirframeUnknown
'
:
image_name
=
image_path
+
image_name
result
+=
'
<img src=
"
%s.svg
"
width=
"
29%%
"
style=
"
max-height: 180px;
"
/>
\n
'
%
(
image_name
)
image_name
=
image_path
+
image_name
result
+=
'
<img src=
"
%s.svg
"
width=
"
29%%
"
style=
"
max-height: 180px;
"
/>
\n
'
%
(
image_name
)
# check if all outputs are equal for the group: if so, show them
# only once
...
...
This diff is collapsed.
Click to expand it.
Tools/px4airframes/srcparser.py
+
2
−
0
View file @
cb8a2b53
...
...
@@ -64,6 +64,8 @@ class ParameterGroup(object):
return
"
AirframeSimulation
"
elif
(
self
.
name
==
"
Plane A-Tail
"
):
return
"
PlaneATail
"
elif
(
self
.
name
==
"
Plane V-Tail
"
):
return
"
PlaneVTail
"
elif
(
self
.
name
==
"
VTOL Duo Tailsitter
"
):
return
"
VTOLDuoRotorTailSitter
"
elif
(
self
.
name
==
"
Standard VTOL
"
):
...
...
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