Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MicroCART_17-18
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
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
bbartels
MicroCART_17-18
Commits
c4a2da7c
Commit
c4a2da7c
authored
8 years ago
by
burneykb
Browse files
Options
Downloads
Patches
Plain Diff
setsetpoint passing through to backend correctly, and symlinks added to gitignore
parent
c303ccd5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
groundStation/.gitignore
+6
-0
6 additions, 0 deletions
groundStation/.gitignore
groundStation/src/cli/cli_setsetpoint.c
+3
-3
3 additions, 3 deletions
groundStation/src/cli/cli_setsetpoint.c
with
9 additions
and
3 deletions
groundStation/.gitignore
+
6
−
0
View file @
c4a2da7c
...
@@ -42,3 +42,9 @@ logs
...
@@ -42,3 +42,9 @@ logs
BackEnd
BackEnd
obj
obj
Cli
Cli
#symlinks
getpid
monitor
setpid
setsetpoint
This diff is collapsed.
Click to expand it.
groundStation/src/cli/cli_setsetpoint.c
+
3
−
3
View file @
c4a2da7c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#include
"cli_setsetpoint.h"
#include
"cli_setsetpoint.h"
int
cli_set
(
struct
backend_conn
*
conn
,
int
argc
,
char
**
argv
)
{
int
cli_set
setpoint
(
struct
backend_conn
*
conn
,
int
argc
,
char
**
argv
)
{
int
c
;
int
c
;
static
int
setheight
=
0
,
setlat
=
0
,
setlong
=
0
;
static
int
setheight
=
0
,
setlat
=
0
,
setlong
=
0
;
struct
frontend_setpoint_data
setpoint_data
;
struct
frontend_setpoint_data
setpoint_data
;
...
@@ -14,8 +14,8 @@ int cli_set(struct backend_conn * conn, int argc, char **argv) {
...
@@ -14,8 +14,8 @@ int cli_set(struct backend_conn * conn, int argc, char **argv) {
/* These options don’t set a flag. We distinguish them by their indices. */
/* These options don’t set a flag. We distinguish them by their indices. */
{
"help"
,
no_argument
,
&
needHelp
,
1
},
{
"help"
,
no_argument
,
&
needHelp
,
1
},
{
"height"
,
required_argument
,
0
,
'h'
},
{
"height"
,
required_argument
,
0
,
'h'
},
{
"long"
,
required_argument
,
0
,
'
t
'
},
{
"long"
,
required_argument
,
0
,
'
l
'
},
{
"lat"
,
required_argument
,
0
,
'
l
'
},
{
"lat"
,
required_argument
,
0
,
'
t
'
},
{
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
}
};
};
...
...
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