Go Down

Topic: Rosserial baudrate (Read 453 times) previous topic - next topic



does someone know where the baud rate is defined? I look in ArduinoHardware.h, and in the package rosserial_python in serial_node and serial_client. I have changed them but default is always 57600. And yes I know I can define it:
Code: [Select]
rosrun rosserial_python serial_node.py _port:=/dev/ttyACM0 _baud:=250000

And second: Is it correct that it works with different baudrates, not just one? And what's the maximum baudrate for an arudino zero?



For the Zero, it is defined in the ArduinoCore-samd, HardwareSerial.hUart.h and Uart.cpp. You can change it by the command Serial.begin(), SerialUSB.begin(), or Serial1.begin().
The slender snake hissed as she slithered slowly over the rocks, grass and leaves.

Go Up