uzh-rpg / rpg_quadrotor_control

Quadrotor control framework developed by the Robotics and Perception Group
Other
582 stars 183 forks source link

SBUS message framing not in sync #103

Open lyltc1 opened 3 years ago

lyltc1 commented 3 years ago

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 commented 3 years ago

Same for me have you found the problem?