tomojitakasu / RTKLIB

2.44k stars 1.57k forks source link

Facing problem while interfacing Ublox m8t with rtkrcv and rtknavi #412

Open atanusan opened 6 years ago

atanusan commented 6 years ago
  1. Not obtain position solution from ublox m8t using rtknavi in windows platform.
  2. In rtkrcv , it shows ./rtkstart.sh: permission denied. Command execution error: ./rtkrcv.sh (32256) Rtk server start error. Is ublox m8t compatible with rtklib or not?
yjmenezes commented 6 years ago

Under GNU/Linux:

app2: 1- check rktstart.sh and rtkshut.sh permissios. ls -l rtk*sh

chmod +x rtkstart.sh chmod +x rtkshut.sh

2- check if you can access serial devices. id $USER

Under Debian: 20,(dialout)

atanusan commented 6 years ago

Yes, you are right. I have run those commands. Now it shows: Startup script OK Rtk server start error.

Now what to do?

atanusan commented 6 years ago

Thanks for your suggestion. Now, rtk server start, but position solution is not showing. And the generated file sol1_201805172230.pos is blank with some header named lat lon etc.

yjmenezes commented 6 years ago

@atanusan

check your devices. 1- Connect your receiver and check the serial port. dmesg must show something line /dev/ttyAMA0 if your receiver setup is ok, cat /dev/ttyAMA0 must output binary messages.

2- check inside your rtkrcv.conf inpstr1-type =serial # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http) inpstr1-path =ttyAMA0:57600:8:n:1:off inpstr1-format =ubx # (0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,8:sp3)

same for reference receiver inpstr2-type =serial # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http) inpstr2-path =ttyAMA0:57600:8:n:1:off inpstr1-format =ubx # (0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,8:sp3)

atanusan commented 6 years ago

Now, the whole system is not with me. I must check what you have said , then I will let you know. Once again, thank you. Best regards.

atanusan commented 6 years ago

Dear Julio, I have checked out with the instructions you have said. I wanted to obtain 'single' solution in standalone mode. Please find the attachment along with the message when i ran the command cat /dev/ttyACM0 Are those binary; I think those are not. And all the above instructions in rtkrcv.config was as you have said. CAT_binary.txt

best regards.

yjmenezes commented 6 years ago

@atanusan

your CAT shows NMEA sentences,.

I apologise, base receiver must use other serial. inpstr2-path =ttyAMA1:57600:8:n:1:off

anyway, if you wanna single standalone solution, you must set rtkrcv.conf inpstr2-type =off pos1-posmode =single # (0:single,1:dgps,2:kinematic,3:static,4:movingbase,5:fixed,6:ppp-kine,7:ppp-static)

Single will give you a position with +- 5m. Is it ok for your application ?

regards.

atanusan commented 6 years ago

Dear Julio,

yes, it shows NMEA sentences. In my rtkrcv.conf, I had set the following instructions: inpstr1-type =serial # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http) inpstr2-type =off # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http) inpstr3-type =off # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http)

pos1-posmode =single # (0:single,1:dgps,2:kinematic,3:static,4:movingbase,5:fixed,6:ppp-kine,7:ppp-static) Actually, I am trying to obtain position solution in standalone, first. Then I will try rtk. But at this initial stage i have been stuck. Is binary output essential to do interface with rtklib? If yes, then this receiver is not compatible. Or, is there may any other way to obtain binary? best regards

yjmenezes commented 6 years ago

@atanusan

Ok, nice, step by step, i like to work this way.

I do not know your receiver. Maybe you have to enable the raw data binary messages using u-blox U-center.exe and save the configuration into receiver NVRAM.

You can turn off all NMEA messages. NMEA are useless for RTKLIB.

Once m8t is configured you can forget U-center. All the time you turn your receiver On, it will start sending raw data. Search into RTKLIB forum about M8T setup.

please, check your rtkrcv.conf: file-cmdfile1=ubx_m8t_glo_raw_1hz.cmd

good luck.


De: atanusan notifications@github.com Enviado: sábado, 19 de maio de 2018 13:45:51 Para: tomojitakasu/RTKLIB Cc: julio cesar de menezes; Comment Assunto: Re: [tomojitakasu/RTKLIB] Facing problem while interfacing Ublox m8t with rtkrcv and rtknavi (#412)

Dear Julio,

yes, it shows NMEA sentences. In my rtkrcv.conf, I had set the following instructions: inpstr1-type =serial # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http) inpstr2-type =off # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http) inpstr3-type =off # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http)

pos1-posmode =single # (0:single,1:dgps,2:kinematic,3:static,4:movingbase,5:fixed,6:ppp-kine,7:ppp-static) Actually, I am trying to obtain position solution in standalone, first. Then I will try rtk. But at this initial stage i have been stuck. Is binary output essential to do interface with rtklib? If yes, then this receiver is not compatible. Or, is there may any other way to obtain binary? best regards

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/tomojitakasu/RTKLIB/issues/412#issuecomment-390413496, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEje3bb7QRiBETjbU62aj3dvucNn4Zkrks5t0D4vgaJpZM4UDYdq.

atanusan commented 6 years ago

Dear Julio, Thanks for your suggestions. I shall try to get raw data. Best regards

yjmenezes commented 6 years ago

@atanusan

Messages for M8T Setup in U-center: RXM-RAWX and RXM-SFRBX no NMEA baudrate 57600,n,8,1

cheers

atanusan commented 6 years ago

Dear Julio, I understand what you say. I have to enable the observation and navigation data through RXM. And NMEA should be disabled. Let's see what will happen. Thank you. Thanks a lot for your regular support on this issue. I shall inform you if I will be successful to interface. Once again, thank you. Best regards.

atanusan commented 6 years ago

Dear Julio, I am extremely sorry for the very the late response. And yes, you were right; I had to enable RXM-RAWX and RXM-SFRBX using u-center. Now, I have successfully run RTKNAVI and RTKRCV in single mode and obtained position solution. Please find the attachment along with the solution. But one thing, In case of RTKNAVI we have got the position solution using ubx_raw_1hz.cmd in windows platform and in case of RTKRCV we had to use ubx_m8t_glo_raw_1hz.cmd for obtaing solution in Linux platform. According to the name the later command should be used for GLONASS constellation. Anyway, finally we have got position solution in both windows and Linux platform. Thank you very much for your support and vauable suggestion. Best regards. solution_RTKRCV.txt

yjmenezes commented 6 years ago

@atanusan

please, it is ok.

I do not use Windows but RTKNAVI and RTKRCV share the same core, i guess. Take e look inside your rtkrcv.conf and try turn GLONASS on under Windows. Under GNU/Linux, after start rtkrcv, type status 1 to watch your receiver working.

good luck.

atanusan commented 6 years ago

Dear Julio, I tried to get glonass satellite signal for position solution. I have set gps+glo+gal in option of rtknavi in windows platform. But only GPS and galelio satellite signal with signal strength are shown; glonass satellite signal is absent. I tried with both the commands. It's also true that our antenna was not under opensky. But glonass signal should have been expected. I don't know why. I shall try keeping the antenna under open sky to get glonass and let you know what will be happening. I have checked 'status 1' and found working. Best regards.

yjmenezes commented 6 years ago

@atanusan

Are you getting GLONASS under GNU/Linux ? What antenna model and manufacturer are you using ? Some antennas are GPS only capable.

pos1-navsys =5

ubx_raw_1hz.cmd # GPS only ubx_m8t_glo_raw_1hz.cmd # GPS+GLONASS

cheers

atanusan commented 6 years ago

I have not yet checked in linux platform. I shall check. And the antenna was come with ublox evk m8n evolution kit. Perhaps, I have to change the assigned value of Pos-navsys. I shall let you know. Are those commands different for different multi-gnss constellations? Best regards

atanusan commented 6 years ago

dear Julio,

mounting the antenna under open sky, I have tried to get glonass, both in rtknavi and rtkrcv on windows and linux platform. i have obtained position solution using glonass in both standalone and multi-constellation mode using rtklib APs. Please find the attachment along with the results. In rtknavi it shows properly that receiver is working in only glonass mode but how could we see the mode in rtkrcv in linux environment. I mean how to know the constellation, the receiver is using in rtkrcv. Thanks for your continuous support and suggestions. Best regards. Solution.txt tomoji

yjmenezes commented 6 years ago

@atanusan

your Solution.txt shows 17 sat, column number 7.

you can watch rtkrcv status of input data rover : obs(0),nav(0),gnav(0),ion(0),sbs(0),pos(0),dgps(0),ssr(0),err(0) of satellites rover : 0 of satellites base : 0 of valid satellites : 0

cheers

atanusan commented 6 years ago

Dear Julio, I have checked the status using 'status 1' and found correct. Thank you. Best regards.

Zulfiddinovich commented 4 months ago

Dear Julio, I am extremely sorry for the very the late response. And yes, you were right; I had to enable RXM-RAWX and RXM-SFRBX using u-center. Now, I have successfully run RTKNAVI and RTKRCV in single mode and obtained position solution. Please find the attachment along with the solution. But one thing, In case of RTKNAVI we have got the position solution using ubx_raw_1hz.cmd in windows platform and in case of RTKRCV we had to use ubx_m8t_glo_raw_1hz.cmd for obtaing solution in Linux platform. According to the name the later command should be used for GLONASS constellation. Anyway, finally we have got position solution in both windows and Linux platform. Thank you very much for your support and vauable suggestion. Best regards. solution_RTKRCV.txt

Thank you yjmenezes and atanusan, I fix my error after reading your suggestion. It started working. LoL.