Channel output data


#1

Hi!

Do someone know how to fetch the channel output data with python?

Best
Adel


#2

Do you mean this?

https://stackoverflow.com/questions/53296288/get-ardupilot-output-channels


#3

Yes!

I tried this:

@vehicle.on_attribute('ch1out')
def ch1out_listener(self, name, msg):
    print '%s attribute is: %s' % (name, msg)

But i received: TypeError: ch1out_listener() takes exactly 3 arguments (0 given)


#4

Did you solve your issue? If so, what was the solution? If not, you might want to post at https://discuss.ardupilot.org.