User Tools

Site Tools


using_debug_mode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
using_debug_mode [2016/04/30 00:42]
silverxxx
using_debug_mode [2016/04/30 00:43] (current)
silverxxx
Line 21: Line 21:
  
 **e.** Add more variables if needed: **e.** Add more variables if needed:
-accel (raw), gyro (rad/sec) , accelcal ( loaded from flash unless calibration is performed), gyrocal ( calibration at startup in gyro raw units ) , attitude ( in degrees , only first 2), vbattfilt ( current battery) , looptime ( should be near 0.001 in seconds), rx ( incomming data from tx , roll, pitch yaw, throttle) , aux ( auxilliary buttons/switches from tx), and more. Only global and static variables can be seen, but some may require a breakpoint at least once before they show. Some variables are already added from when I used them.+//accel// (raw), //gyro// (rad/sec) , //accelcal// ( loaded from flash unless calibration is performed), //gyrocal// ( calibration at startup in gyro raw units ) , //attitude// ( in degrees , only first 2), //vbattfilt// ( current battery) , //looptime// ( should be near 0.001 in seconds), //rx// ( incomming data from tx , roll, pitch yaw, throttle) , //aux// ( auxilliary buttons/switches from tx), and more. Only global and static variables can be seen, but some may require a breakpoint at least once before they show. Some variables are already added from when I used them.
  
 The variables can be added by doubleclicking on <enter expression> in the watch window. They can also be added by right clicking the variable name in the code, while in debug mode ( select add to). Only persistent vars show, not those define within functions. The variables can be added by doubleclicking on <enter expression> in the watch window. They can also be added by right clicking the variable name in the code, while in debug mode ( select add to). Only persistent vars show, not those define within functions.
using_debug_mode.1461969738.txt.gz ยท Last modified: 2016/04/30 00:42 by silverxxx