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
97c96676
Commit
97c96676
authored
8 years ago
by
dawehr
Browse files
Options
Downloads
Patches
Plain Diff
Changed protection loops so quad doesn't send "The quad is ready to receive VRPN data"
parent
406abe1e
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
quad/sw/modular_quad_pid/src/initialize_components.c
+0
-5
0 additions, 5 deletions
quad/sw/modular_quad_pid/src/initialize_components.c
with
0 additions
and
5 deletions
quad/sw/modular_quad_pid/src/initialize_components.c
+
0
−
5
View file @
97c96676
...
...
@@ -28,12 +28,7 @@ int protection_loops(modular_structs_t *structs)
read_rec_all
(
rc_commands
);
// wait until the ground station has connected to the quad and acknowledged that its ready to start
char
buf
[
255
]
=
{};
int
length
=
snprintf
(
buf
,
sizeof
(
buf
),
"The quad is ready to receive VRPN data.
\r\n
"
);
length
=
length
>=
sizeof
(
buf
)
?
255
:
length
;
while
(
!
structs
->
user_input_struct
.
receivedBeginUpdate
)
{
send_data
(
MessageTypes
[
4
].
ID
,
MessageTypes
[
4
].
subtypes
[
1
].
ID
,
0
,
buf
,
length
);
process_received
(
structs
);
usleep
(
10000
);
}
...
...
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