Working of RC Channel APIs with RC Transmitter

Hi,
I am new to Ardupilot. I was exploring the RC_Channel library and found that there are a lot of functions that are used to configure the reading from the RC channels like trim, setting max and min values for channel. However, I am not able to find where this functions are called to set the max, min and trim values in the ArduCopter code. I can set the trim value from RC transmitter itself. Will that automatically set the trim value in the code? Also, if I want to set any auxiliary functions for any channel, how does the code know which channels are configured for it?

Can anyone please help me with this?

Thanks,
Sayan

Hello and welcome Sayan.
all these settings are set by the general configuration of the FC. This is normally done via Missionplaner or a other GCS specially for beginners. So don’t touch the ardupilot firmware itself.
Read first the wiki:
https://ardupilot.org/copter/index.html
https://ardupilot.org/copter/docs/initial-setup.html
All this questions are answered there.
Use your transmitter ever as simple “joystick like” input. Never use any of the programmable functions like mixers, curvers or trims on the transmitter . All will be done on side of the FC as otherwise the behavior of your vehicle will be completetly different between manual and auto modes.

1 Like

Thanks, Juergen for the suggestions.