Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
22fd3d4e
Commit
22fd3d4e
authored
Dec 28, 2010
by
lm
Browse files
Merge branch 'master' of pixhawk.ethz.ch:qgroundcontrol into experimental
parents
4f55790f
dbc3490e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/MAVLinkSimulationLink.cc
View file @
22fd3d4e
...
...
@@ -375,9 +375,9 @@ void MAVLinkSimulationLink::mainloop()
// Move X Position
x
=
8.0
*
sin
(
circleCounter
);
y
=
3.0
*
cos
(
circleCounter
);
z
=
1.8
+
1.2
*
sin
(
circleCounter
/
2.0
);
x
=
8.0
*
sin
f
((
double
)
circleCounter
);
y
=
3.0
*
cos
f
((
double
)
circleCounter
);
z
=
1.8
+
1.2
*
sin
(
(
double
)
circleCounter
/
2.0
);
// x = (x > 5.0f) ? 5.0f : x;
// y = (y > 5.0f) ? 5.0f : y;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment