Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBUS message framing not in sync #103

Open
lyltc1 opened this issue Nov 9, 2020 · 1 comment
Open

SBUS message framing not in sync #103

lyltc1 opened this issue Nov 9, 2020 · 1 comment

Comments

@lyltc1
Copy link

lyltc1 commented Nov 9, 2020

I tried to verify that sbus_bridge node can get message from RC, so I connect a RC receiver to a standard PC via USB-Serial Converter. Then I run "roslaunch quad_launch_files real_quad_example.launch quad_name:=hummingbird". But it shows
[ WARN] [1604900475.376831288]: [/hummingbird/sbus_bridge] SBUS message framing not in sync [ WARN] [1604900475.390097997]: [/hummingbird/sbus_bridge] SBUS message framing not in sync [ WARN] [1604900475.403402376]: [/hummingbird/sbus_bridge] SBUS message framing not in sync
And I use “stty -F /dev/ttyUSB0 -a” to see the baud ,it shows
speed 0 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; parenb -parodd -cmspar cs8 hupcl cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8 -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 -isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
From the cutecom, I can see the information
[13:41:01:478] <0xf8>""!<0x11><0xec>"G<0x87>!<0x18>"<0x19>8f<0xfb><0xa2>d<0xe3><0x1f><0xe1><0xee><0xfc><0xfc><0xf8><0xfe><break>
How to solve this problem?

@NGBearry
Copy link

Same for me have you found the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants