Mavros Override RC Channels issues

Hi community,

1. when I display the topic /mavros/rc/in from command prompt, i got these

header:
  seq: 460
  stamp:
    secs: 1456951630
    nsecs: 476419853
  frame_id: ''
rssi: 0
channels: [900, 900, 900, 900, 900, 900, 900, 900]
.

.

.

2. When I used the RC transmitter, the values are working
 as so

header:
  seq: 3500
  stamp:
    secs: 1456952289
    nsecs: 778270617
  frame_id: ''
rssi: 0
channels: [1495, 1496, 1094, 1496, 1896, 1496, 1094, 1496]



.

.

.

3. When I run rostopic pub -l /mavros/rc/override mavros_msgs/OverrideRCIn '[1500, 1500, 1500, 1500, 1325, 1560, 2000, 1500]'

 /mavros/rc/in does not show any changes

header:
  seq: 3500
  stamp:
    secs: 1456952289
    nsecs: 778270617
  frame_id: ''
rssi: 0
channels: [1495, 1496, 1094, 1496, 1896, 1496, 1094, 1496]

.

.

.

4. Here is my rqt_graph but the /mavros/rc/in is not changing

3691280144?profile=original

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hi Vinh,

    I am currently suffer from the same problem. Would you mind share your experience on setting up the mavros system ID, please?
    I have used your method of step 2 to set the SYSID_MYGCS to 1. However, I do not understand your first command

    1.roslaunch mavros apm2.launch fcu_url:=/dev/ttyUSB0:57600?

    ids=255,240
    what is the ids=255,240 stands for? or what kind of command is that?
    Thanks for your help,
    Regards,
    Donald



    Vinh K said:

    Hi everyone, I got the problem fix.

    to setup FCU param SYSID_MYGCS to match mavros system id

    use these commands in separate prompt:

    1.roslaunch mavros apm2.launch fcu_url:=/dev/ttyUSB0:57600?

    ids=255,240

    2. rosrun mavros mavparam set SYSID_MYGCS 1

  • Hello Vinh

    Just to let you know that you are not alone :-) !!!

    And yes  it is indeed a mavlink override:

    https://github.com/diydrones/ardupilot/blob/9de1ae8fbbb4cf614bd5920...

    Are you using some kind of Teleop with a joystick ore else ?

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…