Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MicroCART
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Distributed Autonomous Networked Control Lab
MicroCART
Commits
18f36767
Commit
18f36767
authored
8 years ago
by
GroundStation
Browse files
Options
Downloads
Patches
Plain Diff
groundStation: itegrate scripts
parent
5f65df69
No related branches found
No related tags found
1 merge request
!4
Batch setpid
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
groundStation/scripts/setpid_batch.sh
+2
-2
2 additions, 2 deletions
groundStation/scripts/setpid_batch.sh
with
2 additions
and
2 deletions
groundStation/scripts/setpid_batch.sh
100644 → 100755
+
2
−
2
View file @
18f36767
...
...
@@ -2,7 +2,7 @@
# Use default filename if it wasn't given at the command line
if
[
$#
-eq
0
]
;
then
filename
=
"parameters.txt"
filename
=
"
scripts/
parameters.txt"
else
filename
=
$1
fi
...
...
@@ -14,4 +14,4 @@ regex='(lat|long|height|pitch|roll|yaw|pitchv|rollv|yawv) (p|i|d) ([-+]?[0-9]*\.
awk_prog
=
'{print "./Cli setpid" " " "--" $1 " " "-" $2 " " $3}'
# Search, parse, and execute ./Cli commands
grep
-E
"
$regex
"
$filename
|
awk
"
$awk_prog
"
| bash
grep
-E
"
$regex
"
$filename
|
awk
"
$awk_prog
"
| bash
\ No newline at end of file
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