Commit f4598ae4 authored by Adi Singh's avatar Adi Singh
Browse files

Merge branch 'driver_lower_baudrate' into 'master'

Baud rate changed to 576000 to match firmware version 13

See merge request toposens/public/ros-packages!82
parents 575a1c7a 25326314
......@@ -43,7 +43,7 @@ class Serial
private:
int _fd; /**< Linux file descriptor pointing to TS device port.*/
std::string _port; /**< Stored device port for future access.*/
const unsigned int kBaud = B921600; /**< Baud rate needed for TS device comms.*/
const unsigned int kBaud = B576000; /**< Baud rate needed for TS device comms.*/
/**
* Blocks execution of driver until an acknowledgement message is received or watchdog timer expires.
......@@ -67,4 +67,4 @@ class Serial
} // namespace toposens_driver
#endif // SERIAL_H
\ No newline at end of file
#endif // SERIAL_H
......@@ -42,7 +42,7 @@
#define buff_sz 1024
static char buffer[buff_sz];
static const int baud = B921600;
static const int baud = B576000;
int tty0tty_open(char *pts_name, char *pts_name_s , int pts_namesz)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment