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

uart1:baudrate cannot be configured on f9p #77

Open
Timple opened this issue Feb 17, 2020 · 10 comments
Open

uart1:baudrate cannot be configured on f9p #77

Timple opened this issue Feb 17, 2020 · 10 comments

Comments

@Timple
Copy link
Collaborator

Timple commented Feb 17, 2020

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.

@0ldWang
Copy link

0ldWang commented Feb 19, 2020

what's the error message when using uart?

@Timple
Copy link
Collaborator Author

Timple commented Feb 19, 2020

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

@0ldWang
Copy link

0ldWang commented Feb 19, 2020

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?

@Timple
Copy link
Collaborator Author

Timple commented Feb 19, 2020

Yes, simply put a higher baudrate using u-center.
But it would be nice if everything could be configured using this package.

@0ldWang
Copy link

0ldWang commented Feb 20, 2020

@Timple
Glad you solve this, BTW, what baud rate did you set in U-Center when you use RS232 Uart Serial Cable?

@MCFurry
Copy link

MCFurry commented Mar 2, 2020

@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.

@0ldWang
Copy link

0ldWang commented Mar 3, 2020

@MCFurry
Thanks for your information, it's really helpful.

@scott-robotics
Copy link

scott-robotics commented Mar 28, 2020

@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.

@Chuan701
Copy link

I use the code
rosrun ublox_gps ublox_gps.(or roslaunch ublox_gps ublox_device.launch)
GPS擷取

How can I do to run the code successfully? Thank you very much!

@rugvedAnfanger
Copy link

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-

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

6 participants