Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Poll Monver issue #127

Closed
sankhakarfa opened this issue Mar 17, 2021 · 4 comments
Closed

Unable to Poll Monver issue #127

sankhakarfa opened this issue Mar 17, 2021 · 4 comments

Comments

@sankhakarfa
Copy link

Hi,

I have connected a zed f9p using UART1 with UBX and NMEA at 115200 baud rate but I am unable to use ublox ros as it fails with the following code:

[INFO] [1615994871.828988598]: U-Blox: Opened serial port /dev/ttyUSB2
[DEBUG] [1615994872.334160800]: U-Blox: Set ASIO baudrate to 9600
[DEBUG] [1615994872.335124369]: U-Blox sent 8 bytes: 
b5 62 0a 04 00 00 0e 34 
[DEBUG] [1615994873.052473632]: U-Blox received 1 bytes 
61 
[DEBUG] [1615994873.067852662]: U-Blox received 5 bytes 
13 41 5a 62 02 
.
.
.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to poll MonVER & set relevant settings

I am able to poll Mon ver using terminal and also using pyubx2.

Can someone help in resolving this issue?

@sankhakarfa
Copy link
Author

Update:
This issue is not happening when connecting the ZEDf9p eval kit to Laptop through USB and selecting dev/ttyACM0

@sankhakarfa
Copy link
Author

Hi,
It was a mistake from my side.
I needed to set the proper UART1 BAUDRATE in the yaml config file in config folder even though it is required by the node to listen to the port at that baudrate.
It is not required for USB connection but for UART1 it is required. Also UART1 should have UBX message in enabled.

Closing this issue.

@NehalNevle
Copy link

I am still facing the same issue with right baudrate set.

@NehalNevle
Copy link

  • /rosdistro: noetic
  • /rosversion: 1.16.0
  • /ublox/config_on_startup: False
  • /ublox/device: /dev/ttyACM1
  • /ublox/frame_id: gps
  • /ublox/uart1/baudrate: 38400
  • /ublox/uart1/in: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants