Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MAVProxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
SASC
MAVProxy
Commits
1384ed17
Commit
1384ed17
authored
11 years ago
by
Michael Day
Committed by
Michael Day
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
added ARSENL startup script and logging support for sorties
parent
413702af
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MAVProxy/mavproxy.py
+3
-0
3 additions, 0 deletions
MAVProxy/mavproxy.py
MAVProxy/tools/arsenl_mp_start.bash
+8
-0
8 additions, 0 deletions
MAVProxy/tools/arsenl_mp_start.bash
setup.py
+2
-1
2 additions, 1 deletion
setup.py
with
13 additions
and
1 deletion
MAVProxy/mavproxy.py
+
3
−
0
View file @
1384ed17
...
...
@@ -598,6 +598,8 @@ def log_paths():
if
opts
.
mission
is
not
None
:
print
(
opts
.
mission
)
dirname
+=
"
%s/logs/%s/Mission%s
"
%
(
opts
.
aircraft
,
time
.
strftime
(
"
%Y-%m-%d
"
),
opts
.
mission
)
if
opts
.
sortie
is
not
None
:
dirname
=
dirname
+
"
/Sortie%s
"
%
(
opts
.
sortie
)
else
:
dirname
+=
"
%s/logs/%s
"
%
(
opts
.
aircraft
,
time
.
strftime
(
"
%Y-%m-%d
"
))
# dirname is currently relative. Possibly add state_basedir:
...
...
@@ -918,6 +920,7 @@ if __name__ == '__main__':
parser
.
add_option
(
"
--rtscts
"
,
action
=
'
store_true
'
,
help
=
"
enable hardware RTS/CTS flow control
"
)
parser
.
add_option
(
"
--moddebug
"
,
type
=
int
,
help
=
"
module debug level
"
,
default
=
0
)
parser
.
add_option
(
"
--mission
"
,
dest
=
"
mission
"
,
help
=
"
mission name
"
,
default
=
None
)
parser
.
add_option
(
"
--sortie
"
,
dest
=
"
sortie
"
,
help
=
"
sortie number
"
,
default
=
None
)
parser
.
add_option
(
"
--daemon
"
,
action
=
'
store_true
'
,
help
=
"
run in daemon mode, do not start interactive shell
"
)
parser
.
add_option
(
"
--profile
"
,
action
=
'
store_true
'
,
help
=
"
run the Yappi python profiler
"
)
parser
.
add_option
(
"
--state-basedir
"
,
default
=
None
,
help
=
"
base directory for logs and aircraft directories
"
)
...
...
This diff is collapsed.
Click to expand it.
MAVProxy/tools/arsenl_mp_start.bash
0 → 100644
+
8
−
0
View file @
1384ed17
#!/bin/bash
if
[
"$#"
-ne
4
]
;
then
echo
"Usage:
$0
event mission sortie device_path"
;
exit
-1
fi
mavproxy.py
--map
--console
--speech
--aircraft
Event
$1
--mission
$2
--sortie
$3
--master
$4
--baudrate
57600
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
1
View file @
1384ed17
...
...
@@ -70,7 +70,8 @@ on how to use MAVProxy.''',
'
MAVProxy/tools/mavflightview.py
'
,
'
MAVProxy/tools/MAVExplorer.py
'
,
'
MAVProxy/modules/mavproxy_map/mp_slipmap.py
'
,
'
MAVProxy/modules/mavproxy_map/mp_tile.py
'
],
'
MAVProxy/modules/mavproxy_map/mp_tile.py
'
,
'
MAVProxy/tools/arsenl_mp_start.bash
'
],
package_data
=
{
'
MAVProxy
'
:
package_data
}
)
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