Skip to content

Instantly share code, notes, and snippets.

@arthurbenemann
Created April 23, 2015 16:32
Show Gist options
  • Save arthurbenemann/58bf1decb94aafa6b424 to your computer and use it in GitHub Desktop.
Save arthurbenemann/58bf1decb94aafa6b424 to your computer and use it in GitHub Desktop.
mavscript
module load gimbal
module load graph
module load gopro
@alias add g graph
@alias add ggimbaltilt graph MOUNT_STATUS.pointing_a/100.0 MOUNT_STATUS.pointing_b/100.0
@alias add ggimbalyaw graph MOUNT_STATUS.pointing_c/100.0 180*AHRS2.yaw/3.141592
@alias add ggimbaljoint graph GIMBAL_REPORT.joint_roll GIMBAL_REPORT.joint_el GIMBAL_REPORT.joint_az
@alias add ggimbalangle graph GIMBAL_REPORT.delta_angle_x GIMBAL_REPORT.delta_angle_y GIMBAL_REPORT.delta_angle_z
@alias add ggimbalvel graph GIMBAL_REPORT.delta_velocity_x GIMBAL_REPORT.delta_velocity_y GIMBAL_REPORT.delta_velocity_z
@alias add gkill param set MNT_K_RATE 0
@alias add glive param set MNT_K_RATE 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment