Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Custom_CrazyFlie_Software
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Distributed Autonomous Networked Control Lab
Custom_CrazyFlie_Software
Commits
ff3db774
Commit
ff3db774
authored
Apr 15, 2017
by
Ian McInerney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused code
parent
c9435d35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
13 deletions
+0
-13
groundstation-LateralOnQuad/crazyflieGroundStation
groundstation-LateralOnQuad/crazyflieGroundStation
+0
-0
groundstation-LateralOnQuad/src/callbacks.cpp
groundstation-LateralOnQuad/src/callbacks.cpp
+0
-1
groundstation-LateralOnQuad/src/vrpn.cpp
groundstation-LateralOnQuad/src/vrpn.cpp
+0
-12
No files found.
groundstation-LateralOnQuad/crazyflieGroundStation
View file @
ff3db774
No preview for this file type
groundstation-LateralOnQuad/src/callbacks.cpp
View file @
ff3db774
...
...
@@ -6,7 +6,6 @@
#include "logData.h"
#include "helperFunctions.h"
#include "controllerHelperFunctions.h"
using
namespace
std
;
...
...
groundstation-LateralOnQuad/src/vrpn.cpp
View file @
ff3db774
...
...
@@ -110,7 +110,6 @@ void* vrpn_go(void *threadID) {
crazyflie_info
[
j
].
cflieCopter
->
cycle
();
}
// nearGround(); // See if the quadcopters have landed yet
#if USE_HAND
updateHand
();
#endif // END USE_HAND
...
...
@@ -149,17 +148,6 @@ void* vrpn_go(void *threadID) {
return
(
0
);
}
//END VRPN GO
/**
* During Landing Mode checks how close to ground quad is for shutdown
*/
void
nearGround
()
{
for
(
int
i
=
0
;
i
<
NUM_QUADS
;
i
++
)
{
if
((
crazyflie_info
[
i
].
cflieCopter
->
m_enumFlightMode
==
LANDING_MODE
)
&&
(
abs
(
crazyflie_info
[
i
].
controllerData
.
zPosition
)
<
0.05
))
{
crazyflie_info
[
i
].
cflieCopter
->
m_enumFlightMode
=
GROUNDED_MODE
;
}
}
}
void
updateHand
()
{
if
(
handMode
==
1
)
{
// cout << "Hand Roll: " << rollHand << endl;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment