Open Timple opened 4 years ago
what's the error message when using uart?
We got TX-errors because the buffers get full. We can verify via u-center that the baudrates are not being set to the values we pass to ublox_gps
I also encountered a similar issue about the uart1 when using RS232 cable. Sometimes it reported “Could not configure serial baud rate”, and sometimes reported "txbuf alloc" error. Did you find a solution about this?
Yes, simply put a higher baudrate using u-center. But it would be nice if everything could be configured using this package.
@Timple Glad you solve this, BTW, what baud rate did you set in U-Center when you use RS232 Uart Serial Cable?
@0ldWang currently we use a (high) baudrate of 460800, but this largely depends on your hardware capabilities and what type of data at what rate you want to send.
On-topic: We noticed that the f9p uses quite a couple of new configuration messages. Also for setting baudrates it is using new message types. In u-center you can see them in the "Generation 9 Configuration View".
So this is at least why setting the baudrate via the old messages is not supported anymore on the f9p, although some configuration settings CAN still be applied.
I'm not sure whether I can spend some time in the near future on implementing the new configuration messages, but this should contribute to better f9p support and future chips.
@MCFurry Thanks for your information, it's really helpful.
@MCFurry @Timple According to the manual, the old message type is deprecated, but is still functional (at least through USB). I have been using this repository (and some changes) to configure the F9P module on the Ardusimple board, which interfaces using USB (uart1 currently unused). I'd be happy to provide details on getting the Ardusimple system running, which may of course diverge for others' implementation of the F9P.
I use the code rosrun ublox_gps ublox_gps.(or roslaunch ublox_gps ublox_device.launch)
How can I do to run the code successfully? Thank you very much!
Also holds for:
uart1: baudrate: in: out: uart2: baudrate: in: out: gnss: gps: glonass: beidou:
USB baudrate still works though.
Seems like the interface description has changed more than expected / implemented in #64 The list above is what we encountered and is not a full list.
Basic operation works though including the imu heading message.
What do you mean by basic operation? Does the ublox_gps launch file work? I have zed f9p device. The baud rate is 38400 both on u-center and the zed_f9p.yaml file.
I still get the error Could not configure serial baud rate.
I am working on Ubuntu 22.04, Humble. I cloned the ros2 branch on this repo-
Also holds for:
USB baudrate still works though.
Seems like the interface description has changed more than expected / implemented in #64 The list above is what we encountered and is not a full list.
Basic operation works though including the imu heading message.