Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gps_nmea] attempt to fix nmea parser at least a little bit
* fix gps.course * fix gps.lla_pos * fix altitude: it is in mm * compute gps.ecef_pos for rotorcrafts * added subsystem for rotorcrafts
- Loading branch information
Showing
4 changed files
with
75 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Hey Emacs, this is a -*- makefile -*- | ||
|
||
# NMEA GPS unit | ||
|
||
|
||
ap.CFLAGS += -DUSE_GPS | ||
ap.CFLAGS += -DGPS_LINK=$(GPS_PORT) | ||
ap.CFLAGS += -DUSE_$(GPS_PORT) | ||
ap.CFLAGS += -D$(GPS_PORT)_BAUD=$(GPS_BAUD) | ||
|
||
ifneq ($(GPS_LED),none) | ||
ap.CFLAGS += -DGPS_LED=$(GPS_LED) | ||
endif | ||
|
||
ap.CFLAGS += -DGPS_TYPE_H=\"subsystems/gps/gps_nmea.h\" | ||
ap.srcs += $(SRC_SUBSYSTEMS)/gps/gps_nmea.c | ||
|
||
$(TARGET).srcs += $(SRC_SUBSYSTEMS)/gps.c | ||
|
||
sim.CFLAGS += -DUSE_GPS | ||
sim.CFLAGS += -DGPS_TYPE_H=\"subsystems/gps/gps_sim.h\" | ||
sim.srcs += $(SRC_SUBSYSTEMS)/gps/gps_sim_nps.c | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters