To Launch FlytConsole enter the following address in your browser. If you are trying to open flytconsole on a device other than Companion Computer(device running FlytOS) make sure you are on the same network as of the Companion Computer
http://<Companion Computer's IP address>/flytconsole
Upon launch you are greeted by the Dashboard. The Dashboard displays the Connection status, Battery status, GPS status, Frame type and RC Mode.
Frame Select allows you to select the airframe-type of your drone. You are provided with several predefined options of multi-copter and fixed wing configurations. These configurations are further subdivided based on the make of the drone.
Depending upon the actual frame of your drone, select the airframe and click on Save and Reboot.
This widget shows you options to calibrate your sensors, ESCs and RC, test your motors and configure RC modes.
ESC Calibration requires the following fields to be filled:
Min PWM Value
Max PWM Value
Number of Actuators
The Min and the Max PWM values set the range of the expected values from AUTOPILOT to the ESCs. Any value received from the RC beyond this range is converted to the min or max value. Number of actuators is the number of motors depending upon the airframe selected by you in Frame Select. FlytConsole consists of some predefined default values that can be changed.
Once you have set the
Min PWM values , Max PWM values and Number of Actuators click on Start Calibration. You will see a message saying
Calibration started. This marks the start of Stage 1 of ESC Calibration. Disconnect the power from the ESCs and click on Next.
Stage 2 involves setting the time duration(in seconds) for the PWM high time in stage 3. After this connect the power to the ESCs and click on Next.
After the time out the ESCs will automatically receive low PWM value. This is stage 3.You can enter this stage manually by disabling the Automatic PWM high time in seconds and click on Next.
Stage 4 marks the end of ESC Calibration. Click on Finish.
FlytConsole allows you to test if the motors are correctly connected. In Motor testing, you can do this by clicking on the respective motor that you want to test. Once you click on the motor, it will start rotating and you can check whether the direction of rotation of the corresponding motor on your drone is correct or not.
There is also a provision for setting the time of rotation for the motors.
Sensor calibration is of utmost importance before you fly your drone. Set the
AUTOPILOT ORIENTATION &
EXTERNAL MAG ORIENTATION if the orientation of the frame and AUTOPILOT are different. The sensors to be calibrated for correct attitude are given below:
Click on Accel Calibration to begin.
Hold the drone steady in all the six directions( x, -x, y, -y, z, -z) for sometime. You will be notified when the current orientation is detected and when calibration begins for that orientation. Keep steady till you are notified to change to a new direction.
Click on Gyro Calibration to begin.
Keep the drone steady without movement in a single state till the calibration ends. You will be notified when the calibration ends.
Click on Mag Calibration to begin.
You need to calibrate magnetometer every time you change the flying field. If your autopilot orientation is not the same as that of your drone, update
AUTOPILOT ORIENTATION parameter accordingly.
Click on Level calibration to begin.
Keep the drone steady in flat position on a leveled surface on the floor.
Connect the Throttle, Roll, Pitch and Yaw to the respective RC channels. Also, set the Threshold for two way manual override and three way RC mode switches and their channels.
Once you click on Start you are told to lower the throttle switch all the way down and reset all the transmitter trims to center. After this click on Next.
Following is a list of pin positions for the next few steps:
Throttle up position
Throttle down position
Yaw right position
Yaw left position
Pitch up position
Pitch down position
Pitch brought to center
Switches min and max values
Switch/Pot/Pin for flags
Flag up position
Map the RC mode switch to a three way switch channel and manual override function to a two way switch channel. Set their respective thresholds.
These are the gains that are mostly used and are required to be tuned depending upon the stability of the drone’s autopilot.
The outer loop of orientation is controlled by the following parameters:
Roll control (MC_ROLL_P)
Pitch control (MC_PITCH_P)
Yaw control (MC_YAW_P)
Inner loop of orientation had the following PID controllers:
Roll rate control (MC_ROLLRATE_P, MC_ROLLRATE_I, MC_ROLLRATE_D)
Pitch rate control (MC_PITCHRATE_P, MC_PITCHRATE_I, MC_PITCHRATE_D)
Yaw rate control (MC_YAWRATE_P, MC_YAWRATE_I, MC_YAWRATE_D)
Begin with MC gain tuning. Once your drone is capable of stable manual flight, you can move on to MPC gain tuning to accomplish more accurate altitude and position control.
Parameters: MC_ROLLRATE_P, MC_PITCHRATE_P - P Gains
For a symmetrical drone the Pitch and Roll values can be same, if the drone is sluggish increase the P gain until it starts oscillating. If the P gain is too high there will be oscillations in that axis, so reduce it until it disappears.
Parameters: MC_ROLLRATE_D, MC_PITCHRATE_D - D Gains
After RATE_P tuning there will be oscillations. Increase the RATE_D until the oscillations disappears. In case the RATE_D is too high the oscillations might still be there. In that case reduce RATE_D slightly.
Parameters: MC_PITCH_P, MC_ROLL_P
If there are oscillations tune down P. Increase P if the copter is sluggish.
Parameters: MC_ROLLRATE_I, MC_PITCHRATE_I - I Gains
If the roll and pitch rates never reach the setpoint but have an offset, add MC_ROLLRATE_I and MC_PITCHRATE_I gains, starting at 5-10% of the MC_ROLLRATE_P gain value.
Parameters: MC_YAWRATE_P - Yaw Rate
This parameter is not critical and can be tuned in flight, in the worst case scenario the yaw response will be sluggish or too fast. Play with FF parameter to get comfortable response.
Parameters: MC_YAW_P - Yaw Angle
Rotate it around yaw, and observe the response. It should go back slowly to the initial heading. If it oscillates, tune down P. Once the control response is slow but correct, increase P until the response is firm, but it does not oscillate.
Parameters: MC_YAW_FF - Feed forward tuning
Feed forward weight for manual yaw control. 0 will give slow response and no overshot, 1 - fast response and big overshot.
Decrease to make pitch control faster and accurate. Increase the value if its twitchy.
Parameters: MC_Roll TC
Decrease to make roll control faster and accurate. Increase the value if its twitchy.
Adjust the throttle to hover the copter in the mid-air. Decrease this value if the hover position is less than the throttle center. Increase the value if the hover is more than throttle center.
After your drone is flying properly in manual mode without oscillations, you can start tuning the MPC gains.
Reduce the value to make position control smoother and less twitchy. Increase it for more accurate and aggressive position control.
Reduce the value to make altitude control smoother and less twitchy. Increase it for more accurate and aggressive altitude control.
To learn more about gain tuning click here.
Click here to see the complete parameter list.
These are all parameters used throughout FlytOS. These can be changed if needed.
Once this is done, save the parameters.
Fail Safe allows you to assign certain Failsafe actions to be performed by the drone during critical situations viz. Low battery, RC loss, Datalink loss, Geofence, Return Home settings and Land settings.
Video displays the live stream of video directly being captured by the camera on the drone.
After completing all the above mentioned settings you are now ready to fly and test the basic navigation capabilities provided by the GCS.
The functionality of GCS can be divided into three parts:
Set mission for your drone
Get Waypoints - shows you the current mission.
Set Waypoints - allows you to set a new list of waypoints for your drone.
Clear - will clear the waypoints.
Execute - will make the drone execute the set mission.
Pause - will make the drone hover in its current position and not proceed until the mission is executed/resumed again.
Basic Functions for commanding the drone
TAKE OFF - arms the drone and makes it hover at a height.
LAND - commands the drone to land.
HOVER - makes the drone hover at its current location.
Flyt Inspector streams live data from the drone.
Following data is streamed from the drone:
Battery - gives the voltage and current consumed by the System.
GPS - gives the current latitude, longitude and altitude of the drone.
IMU - gives the current attitude with respect to NED.
Local Position - gives the position of the drone with respect to the home position.
RC IN - gives the input value received by AUTOPILOT because of RC.