cretaceous-creature / jsk_laser

0 stars 3 forks source link

[Odorid XU4] Baudrate 2M 有点吃力 #1

Open tongtybj opened 7 years ago

tongtybj commented 7 years ago

@cretaceous-creature

Odroid XU4上同时用IMU板和Chen Laser时, IMU的rosserial马上就会断。 IMU板的baudrate是921600, chen laser是2M. 我怀疑Odroid XU4的硬件不支持复数个高频的serial deveice。 只连IMU或只连chen laser都没有问题。

然后, 我根据https://github.com/cretaceous-creature/jsk_laser/blob/master/src/serial_comm.cpp#L237 算了一下Odroid XU4所需的带宽: 1096Byte × 8 × 12Hz = 105024 bps, 发现115200bps就够。 而且反正我只需要10Hz左右。

能不能帮我把bps调到115200或是23400.

tongtybj commented 7 years ago

p1020697 p1020700

cretaceous-creature commented 7 years ago

难道是USB1.0?

也可以改成921600.。 速度慢一倍就行。。。。

2017-04-19 4:51 GMT+09:00 趙 漠居 notifications@github.com:

@cretaceous-creature https://github.com/cretaceous-creature

Odroid XU4上同时用IMU板和Chen Laser时, IMU的rosserial马上就会断。 IMU板的baudrate是921600, chen laser是2M. 我怀疑Odroid XU4的硬件不支持复数个高频的serial deveice。 只连IMU或只连chen laser都没有问题。

然后, 我根据https://github.com/cretaceous-creature/jsk_laser/ blob/master/src/serial_comm.cpp#L237 算了一下Odroid XU4所需的带宽: 1096Byte × 8 × 12Hz = 105024 bps, 发现115200bps就够。 而且反正我只需要10Hz左右。

能不能帮我把bps调到115200或是23400.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cretaceous-creature/jsk_laser/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AIjRma5hzrVWpBC2gELdEoMD13wc1Vhxks5rxRRQgaJpZM4NAz9S .