Open PlutoIsBlack opened 5 years ago
I think you should try original gps-sdr-sim, if you haven't tried yet. https://github.com/osqzss/gps-sdr-sim
I have tried it and works fine. I don't understand how you turn on the webui for extracting the lat. longs
Original gps-sdr-sim has -l option which reads static Lat/Lon from command line. I modified the code to read Lat/Lon from a file when you specify a file name instead of static Lat/Lon.
I understand the concept but am unable to open the web ui
can you tell me how to open the web ui
You need to have WWW server such as apache2 on the same PC running modified gps-sdr-sim and hackrf-transfer. And follow https://github.com/crescentvenus/WALB/tree/master/webui
ok thanks i will try and let you know
I configured everything like it said in the link but which file do I run to start the webui
Just access the WWW server you set up using browser chrome. http://ip-youre-WWW-server/LatLon.php
I access it but the ui doesn't open instead it just shows text
if it isn't too much trouble could you please list the steps I should follow to get it working I added the API and updated the directories but still nothing
Have you installed php ?
2019年7月20日(土) 0:29 PlutoIsBlack notifications@github.com:
if it isn't too much trouble could you please list the steps I should follow to get it working I added the API and updated the directories but still nothing
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/crescentvenus/WALB/issues/13?email_source=notifications&email_token=AEUP7DHEAGWNPM7NP7FOCPTQAHMWJA5CNFSM4IFFLNA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2L63XA#issuecomment-513273308, or mute the thread https://github.com/notifications/unsubscribe-auth/AEUP7DB5RQN3JZADH7MNLYDQAHMWJANCNFSM4IFFLNAQ .
I got the map to work and ran the simulation but now for some reason it does not use the interactive mode just shows static mode and transmits some weird location
The latlon.txt is not being generated
Well, it may file's permission issue. Can you send me directory list of WWW server. ls -l
really sorry but I don't know how to do it
'ls -l' is one of the basic Linux command. On terminal , type something like "ls -l /var/www/html" .
Here is the list
You have to get administrator authority, '$ sudo -s' Then, '# chown www-data:www-data /var/www/html/webui/*'
still nothing, I can't find any place where LatLong.txt is being created
Check content of LatLon.ini.php.
LatLon.ini.php says that the file is in \tmp but there was no file there
Till now I have setup the server and map is working fine but the lat longs are not being saved
When you click somewhere in the map, the center of the map changes accordingly ?
yes the center moves and marker is placed
How about /var/www/html/webui/LatLon.txt ? It should contain Lat/Lon where you clicked and update every time you clicked.
there is no LatLon.txt file
You can check WWW server log in /var/log/apache2/error.log Is there any error message in that file ?
There are a few error messages
As far as I can tell from error.log, you installed related files in /var/www/html/ but not /var/www/html/webui/. Is that correct ? The 4th line of error.log tells it failed because lack of permission.
How do I give more permission and also now the map has stopped loading
Tell me first, where is the installed directory ?
/var/www/html/webui/
It is odd. error.log is pointing /var/www/html/LatLon.txt.
how was I suppose to install directory?
Install directory does not matter. It must be just consistent through installation and operation. Can you show the result of "ls -l /var/www/html "
also now map is not initializing properly
Well, I suggest you find nearby friend who can figure out the meaning of error.log. The error.log is telling couple of other errors too . Anyway, thank you for your interest of WALB project.
Thanks for all the help
one last thing can you show me a picture of LatLon.txt I would like to see how the data is presented in the file
I will post again if something I came up with.
LatLon.txx is one line simple TEXT file something like below. 45.79737,130.44659,100
LatLon.txt is updating successfully now Thank You so much
now which gps-sim-sdr should I run gps-sdr-sim or gps-sdr-sim_x64
gps-sim-sdr is for raspberry Pi, gps-sdr-sim_x64 is for intel x64 processor.
In the video when you run it gps-sdr-sim it says interactive mode but when I do it, it says static mode
and also how do you start compiling and transmission simultaneously
Naming has history. Is been more than 3 years from initial post. I added interactive function on static location mode of original gps-sdr-sim. I don't understand your question "how do you start compiling and transmission simultaneously" .
or are you transmitting it through GNURadio?
I am trying to run this on linux without a Pi can you please help me with how to compile this I am really new to Linux and think I am making some mistake.