You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got my guidance connected to my DJI manifold via UART.
I've confirmed guidance works as expected, and I've enabled the UART API in the guidance software.
I've built the Makefile under examples/uart_example.
When I run 'sudo ./uart_example' I get the following:
open uart ok!
set UART port paramster done!
And then the program just hangs and does nothing. Using some debug statements I've narrowed the line that it hangs at. It in on line 148 of linux/serial.cpp
int n = read(g_sdk_uart_fd, buf + read_len, len);
This appears to be an issue with reading from the serial, although it opens the connection fine. I've tried all the UART ports with the same thing happening.
Any ideas would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I've got my guidance connected to my DJI manifold via UART.
I've confirmed guidance works as expected, and I've enabled the UART API in the guidance software.
I've built the Makefile under examples/uart_example.
When I run 'sudo ./uart_example' I get the following:
And then the program just hangs and does nothing. Using some debug statements I've narrowed the line that it hangs at. It in on line 148 of linux/serial.cpp
int n = read(g_sdk_uart_fd, buf + read_len, len);
This appears to be an issue with reading from the serial, although it opens the connection fine. I've tried all the UART ports with the same thing happening.
Any ideas would be greatly appreciated.
The text was updated successfully, but these errors were encountered: