Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
OpenSource
Ardupilot
Commits
64d5f4c2
Commit
64d5f4c2
authored
13 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
GPS: fixed the UBlox test code
parent
71f9e33f
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
libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde
+2
-1
2 additions, 1 deletion
libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde
with
2 additions
and
1 deletion
libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde
+
2
−
1
View file @
64d5f4c2
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
#include
<FastSerial.h>
#include
<FastSerial.h>
#include
<AP_Common.h>
#include
<AP_Common.h>
#include
<AP_GPS.h>
#include
<AP_GPS.h>
#include
<AP_Math.h>
FastSerialPort0
(
Serial
);
FastSerialPort0
(
Serial
);
FastSerialPort1
(
Serial1
);
FastSerialPort1
(
Serial1
);
...
@@ -19,7 +20,7 @@ AP_GPS_UBLOX gps(&Serial1);
...
@@ -19,7 +20,7 @@ AP_GPS_UBLOX gps(&Serial1);
void
setup
()
void
setup
()
{
{
Serial
.
begin
(
384
00
);
Serial
.
begin
(
1152
00
);
Serial1
.
begin
(
38400
);
Serial1
.
begin
(
38400
);
stderr
=
stdout
;
stderr
=
stdout
;
gps
.
print_errors
=
true
;
gps
.
print_errors
=
true
;
...
...
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