필터 지우기
필터 지우기

GPS interface

조회 수: 4 (최근 30일)
Messam Abbas
Messam Abbas 2011년 10월 5일
답변: Gayatri Menon 2022년 1월 5일
Dear Paulo
I am sorry if you mind contacting you directly.
I am trying to connect a GPS USB dongle to my pc and would like to record data in MATLAB.
I just need to know if I will need additional hardware or I can do it directly. I need a direction and rest I will do myself. I am trying to look for a small direction to give me go and I will be sailing the boat.
I would appreciate if you can guide me a little bit on this. I will await your reply.
Thanks you in advance.
Best Wishes

답변 (3개)

Walter Roberson
Walter Roberson 2011년 10월 5일
The connection method is different with different dongles. What kind and model are you using?
Are you trying to transfer the GPS information in "somewhat close to real time", or are you recording the waypoints in the dongle and uploading a completed path when you get home?
  댓글 수: 4
Messam Abbas
Messam Abbas 2011년 10월 5일
Thanks for your reply, but this model actually streams data instead of logging.
All I will need to start reading the strings this device streams and make script to decode them to lats and longs and then to current location.
But do I need an interface to communicate to MATLAB or does MATLAB supports some special functions to read data from such external devices.
Thanks anyway for help. Please let me know if you find something. I appreciate your help.
Regards
Walter Roberson
Walter Roberson 2011년 10월 5일
http://www.ublox.com/images/downloads/Product_Docs/USB_with_LINUX%28GPS.G4-CS-07059%29.pdf
Or http://www.ublox.com/en/usb-drivers.html if you are using Windows

댓글을 달려면 로그인하십시오.


Gayatri Menon
Gayatri Menon 2022년 1월 5일
Hi,
nmeaParser() in Navigation toolbox can be used to parse data from GPS. Serial connection can be established using serialport()
Refer the following links for more info :
Hope this helps
Thanks

Gayatri Menon
Gayatri Menon 2022년 1월 5일
Hi,
This example might be helpful for you
Thanks
Gayatri

카테고리

Help CenterFile Exchange에서 Automated Driving Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by