LibrePilot Forum

Users => Vehicles - MultiRotors => Topic started by: mikehawkey on August 10, 2017, 06:38:50 pm

Title: Erratic transmitter behavior in Librepilot
Post by: mikehawkey on August 10, 2017, 06:38:50 pm
I am just setting up a new quad with an FrSky S Bus receiver (XM+ Micro) getting through the transmitter setup is a bit hit and miss but even when I do manage to get it to work and check the setting the sliders are going up and down in a very erratic fashion with no input from me. I've tried another similar receiver and the same things happening. The TX is a Taranis X7. I have managed to arm the quad but the slightest bit of throttle push the motors up to almost full throttle. Not sure what the issue is but any pointers would be appreciated.
Regards
Mike
Title: Re: Erratic transmitter behavior in Librepilot
Post by: f5soh on August 10, 2017, 06:56:05 pm
Are the min/max set correctly for every input channel ?

Please post your config file using File > Export UAV Settings
Title: Re: Erratic transmitter behavior in Librepilot
Post by: TheOtherCliff on August 10, 2017, 08:25:37 pm
When it asks you to, you MUST exercise all sticks, and used knobs and switches FULLY in all directions when doing the transmitter wizard.  Re-run the transmitter wizard.  :)
Title: Re: Erratic transmitter behavior in Librepilot
Post by: mikehawkey on August 11, 2017, 10:54:22 am
I did another setup last night and it took two attempts before I could get the sticks in the setup to follow the sticks on the Taranis. I made sure all the sticks were put to maximum throws. After saving the setup I closed the wizard and went to the inputs screen and sure enough, the sliders were bouncing around all over the place or a movement on the stick was jerkily followed by some slider movement
Title: Re: Erratic transmitter behavior in Librepilot
Post by: f5soh on August 11, 2017, 11:05:44 am
Receiver firmware matches the X7 firmware ?
I mean EU / no EU firmware.
https://www.frsky-rc.com/xm-plus-mini-sbus-non-telemetry-full-range/

*** Please post your config file using File > Export UAV Settings ***
Title: Re: Erratic transmitter behavior in Librepilot
Post by: Mateusz on August 11, 2017, 11:16:05 am
I did bind FrSky S Bus receiver (XM+ Micro) with my Frsky Taranis X9D+ after flashing LBT firmware (for EU users) both to TX and RX. It was just needed for binding.
I don't think there is anything wrong with firmware on receiver transmitter if it's binding fine. I am flying XM+ just fine, there is no erratic behaviour related to that receiver.
It's probably your calibration, or configuration on either end. Check calibration, did you move the sticks as asked by the wizard ? Are your channels on Taranis configured in mixer to output to separate channels ?

Receiver firmware matches the X7 firmware ?
He would not see any movement if not bind, and it would not bind if firmware mismatches.
Title: Re: Erratic transmitter behavior in Librepilot
Post by: mikehawkey on August 11, 2017, 11:22:40 am
Yes it bound no problem but I'll check the mix settings etc. and let you know how it goes.
MIke
Title: Re: Erratic transmitter behavior in Librepilot
Post by: Mateusz on August 11, 2017, 12:05:09 pm
Yes it bound no problem but I'll check the mix settings etc. and let you know how it goes.
Don't forget to post UAV configuration like f5soh suggested ;)
Title: Re: Erratic transmitter behavior in Librepilot
Post by: mikehawkey on August 11, 2017, 03:34:07 pm
Here is the file straight after going through the wizard again.
Mike
Title: Re: Erratic transmitter behavior in Librepilot
Post by: f5soh on August 11, 2017, 03:51:29 pm
Quote
Here is the file straight after going through the wizard again.
Finally, thanks.
Almost thinking my posts was ignored. :)

Did you setup a flightmode in your X7 ? This mean assign a switch to a receiver output, like ch5
Your flightmode is using the ch16 that should be used for RSSI output, this mean your flightmode stabilization change according to the link distance.

About the Sbus erratic i encountered the same some months ago after a Taranis firmware update and a X4R-Sbus , all binded as previously but all channels with jitter. A new receiver bind solved the issue.
Title: Re: Erratic transmitter behavior in Librepilot
Post by: mikehawkey on August 11, 2017, 04:20:42 pm
OK thanks for getting back to me I was work so couldn't get to the quad :). I'll try rebinding now and I hadn't set a flight mode but will do that as well and see what happens and let you know.
Mike
Title: Re: Erratic transmitter behavior in Librepilot
Post by: mikehawkey on August 11, 2017, 05:32:38 pm
..aaaRRRGGHH!! nope not getting anything now in the setup wizard despite rebinding. I get telemetry message lost or found from the X7 but when it comes to moveing the sticks they are not moving, its as if the TX is connected but not sending anything back or the receiver isn't interpreting it on the board. I've double checked the confog screen and the main port is set to sbus. Whats puzzling is that the connection is so erratic sometimes it may work other times it won't ... never had this issue my other quads.
Mike
Title: Re: Erratic transmitter behavior in Librepilot
Post by: AerialPerPlexity on August 11, 2017, 06:31:51 pm
Maybe try to connect the rx though a different ports.
https://librepilot.atlassian.net/wiki/plugins/servlet/mobile?contentId=2818105#content/view/5668999

In this link click under the hardware sign with what ever board  that you are trying  to setup.
Title: Re: Erratic transmitter behavior in Librepilot
Post by: TheOtherCliff on August 11, 2017, 06:40:19 pm
Battery must be plugged in for receiver to get power.  USB is not enough.

Some binding procedures also select the signal type (PWM, PMM, SBus, etc.) that the receiver will send to the FC.  That must match what the FC is configured to read from the receiver.
Title: Re: Erratic transmitter behavior in Librepilot
Post by: mikehawkey on August 11, 2017, 06:43:53 pm
Battery is powered up with the lipo on the quad. This one is purely Sbus.
Mike
Title: Re: Erratic transmitter behavior in Librepilot
Post by: TheOtherCliff on August 11, 2017, 06:44:38 pm
@f5soh
Is this a problem with having RSSI on PPM stream (or any stream)?

RSSI movement would be detected as stick movement during transmitter wizard.
Title: Re: Erratic transmitter behavior in Librepilot
Post by: mikehawkey on August 12, 2017, 01:50:02 pm
I've now given up on the wizard and configured the TX manually however the motors spin up very fast like 50% is there a way in the config to adjust this?
Mike
Title: Re: Erratic transmitter behavior in Librepilot
Post by: AerialPerPlexity on August 12, 2017, 03:30:38 pm
It could possibly mean you need to calibrate the esc's. You do that on the output page. There is a really good page in the wiki page on this website. Sometimes its best to just skip the wizards and set up your self. I had issues with the wizard setting up my quad and just skipped through it and went back manually and set up the steps i skipped and it works great. Some people don't use the wizards at all. it's not mandatory you do it, it's just there to help people out that dont know everything you need to do. As long as you go through every tab and have everything that applys to your craft you will be fine. When you go for your madien flight just make sure you lift off and fly los  to make sure the controls are correct . Good luck. hope everything works out for you and your craft.

Try this link

https://librepilot.atlassian.net/wiki/plugins/servlet/mobile?contentId=12058743#content/view/12058743
Title: Re: Erratic transmitter behavior in Librepilot
Post by: TheOtherCliff on August 13, 2017, 01:40:39 am
Do ESC calibration
https://librepilot.atlassian.net/wiki/display/LPDOC/ESC+Calibration

If it still goes to 50% right away, and you have non-default PIDs your PIDs (mainly D terms) may be too high.
Title: Re: Erratic transmitter behavior in Librepilot
Post by: f5soh on August 14, 2017, 10:54:51 am
I've now given up on the wizard and configured the TX manually however the motors spin up very fast like 50% is there a way in the config to adjust this?
Mike

Revert the Stabilization > Basic > "Zero integral when Throttle is low" (bottom) to Checked, as default.
In previous config file you posted some days ago, it was disabled.
Almost sure this will fix your Throttle jump while moving the Throttle stick. :D

(https://forum.librepilot.org/index.php?action=dlattach;topic=3356.0;attach=6519)