Hi guys,
I have been trying to get the rtps example runnining, but with no success. If any of you have suggestions, I would greatly appreciate them.
Here are the steps I did:
- pluged usb cable into the pixhawk and accessed it via:
~/src/Firmware/Tools$ ./mavlink_shell.py /dev/ttyACM0
- I started the micrortps_client:
nsh> micrortps_client start
UART transport: device: /dev/ttyACM0; baudrate: 460800; sleep: 1ms; poll: 1ms
no flush
- On my destop (which is connected to to the pixhakw via the usb) I run:
./micrortps_agent -d /dev/ttyACM0
UART transport: device: /dev/ttyACM0; baudrate: 460800; sleep: 1us; poll: 0ms
UART_node::init()
no flush
sensor_combined subscriber started
sensor_baro publisher started
while running (↓↓ 19)
Then it will continue to print these messages (↓↓ _) . Later on the pixhawk the client shuts
down:
nsh>
SENT: 3183 messages in 19983 LOOPS, 105039 bytes in 46.747 seconds - 2.25KB/s
RECEIVED: 0 messages in 10000 LOOPS, 0 bytes in 46.753 seconds - 0.00KB/s
Close UART
INFO [micrortps_client] exiting
Any suggestions ? I would really like to get the Client-Agent protocol working.