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