HKUST-Aerial-Robotics / ublox_driver

A driver for u-blox receiver (ZED-F9P) with ros support
GNU General Public License v3.0
104 stars 49 forks source link

issue while launching #5

Closed dineshrboson closed 3 years ago

dineshrboson commented 3 years ago

Screenshot from 2021-09-09 15-46-17

I didnot understood what changes must be made in u-centre 2 I just connected my ublocks zed f9p to my linux laptop and tried to launch it didnot worked so i put to default and tried launching

shaozu commented 3 years ago

Hi, @dineshrboson. Firstly the ublox config file in our repo is not readable and you just need to load that to your F9P via u-center.

For the error message I guess you set the online parameter to 0 so the driver thought you want to process the recorded data as specified by ubx_filepath, which does not exist in your PC.

dineshrboson commented 3 years ago

Screenshot from 2021-09-13 11-48-39 Screenshot from 2021-09-13 11-48-48 Screenshot from 2021-09-13 11-48-59

dineshrboson commented 3 years ago

Downloaded ucentre for windows connected gps module and next tools -> receiver configuration -> loaded your config file and removed gps and connected to linux

dineshrboson commented 3 years ago

Tried to do launch file the same error is being shown and I checked yaml file its showing 1 is for serial port and 0 is for file. I kept it as 1

dineshrboson commented 3 years ago

ls dev/ttyACM* is showing dev/ttyACM0

shaozu commented 3 years ago

Hi, @dineshrboson. Thanks for the info. I have updated the code to address this issue.

shaozu commented 3 years ago

BTW the old code should work normally even with that error message.

dineshrboson commented 3 years ago

Thanks for the reply I tried relaunching after pulling the latest code and I found that it's working fine but there is no data on the topic. If you have some time can you please explain this thing I have ublox z9fp base and rover and I am looking for cm level accuracy can you guide me the exact steps to be followed. And also I want that information in topics with high hz rate.

shaozu commented 3 years ago

Did you grant your account the permission on serial r/w? if not, try sudo usermod -aG dialout $USER.

dineshrboson commented 3 years ago

Steps that I did 1) connected ublox zed_fp9 to windows laptop and downloaded your txt file and updated my firmware to 1.13 and flashed from tools in the menu. 2) Now I need some info after this step , so do I need to remove the GPS module and connect to my Linux machine and launch the file? that's what I did even after checking ttyACM0 and by doing sudo chmod that port but no info is being coming on the topic

dineshrboson commented 3 years ago

IMG_20210914_230802(1)

dineshrboson commented 3 years ago

And in my ucentre screen it looks like 3D/GNSSD So I believe it became grownd station and now I need to connect xbee and receiver to my Linux laptop and launch the file so that I'll get data

dineshrboson commented 3 years ago

My question is your package is compatible for only one ublox zed f9ps or we can use both base station and rover at the same time

dineshrboson commented 3 years ago

Hey I made it working I saved the conf after loading your conf file and now I am getting data on the topic thanks close the issue when you see it

shaozu commented 3 years ago

Glad to hear that and good luck to your project!