Vectornav VN-200 User Manual Page 15

  • Download
  • Add to my manuals
  • Print
  • Page
    / 23
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 14
5 Discussion
5.1 GPS Driver
This section will firs t show th e results of the GPS dri ver and make some comparison and expla-
nation.
Before making any changes and/or doing software development, the first step is to just use the
Official VectorNAV driver and application to show if it works. As mentioned above, there is an
official app li cation with graphical interface to show the current coordinates, speed, acceleration and
other information of the GPS sen s or (Figure 3). When I just plugged the sensor into the USB port
on my computer, the application di d not show any information other than zeroe s. After look ing at
the user manual in detail, I reset some parameters like baud rate (which should be 230400) to make
this app li cation to correctly show its altitude, latitude and longitude.
After successfull y tuned parameters for the Windows application, I then moved onto the official
Linux driver. The driver provided by Vector NAV is just a library. When I just typed “make” at
first, the compiler showed some error infor mation about u nd efi ne d r ef er e nc e. After l ooking up the
error message on the internet, I got that we needed to add a paramete r “-lrt” in the command line.
Then the compilation step worked well and it generated the driver file, which is a static librar y.
In order to utilize this library, we must have some program which calls functions in the library
to show necessary information. I made a pr ogram which shows the coord inate based on the sample
program provided by VectorNAV. Fortunately, the program can display correct answer without any
problem (Figure 4).
Figure 4 Linux Sample Program of VN200
13
Page view 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Comments to this Manuals

No comments