Skip to content
Snippets Groups Projects
Commit 0105281d authored by Tina Li's avatar Tina Li
Browse files

more updates

parent 421e3441
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,49 @@ char get_debug_level(enum debug_data_types type){
}
}
int send_debug_data(enum debug_data_types type){
if(!get_debug_level(type))
{
return ERROR;
}
switch(type)
{
case CAMERA:
break;
case GYRO:
break;
case ACCELEROMETER:
break;
case LIDAR:
break;
case OPT_FLOW:
break;
case GPS:
break;
case PID:
break;
case RC_TRANS:
break;
case ACTUATOR:
for (i = 0; i < 4; i++) {
actuator_command_struct->motor_magnitudes[i]
}
break;
case default:
break;
}
}
......@@ -29,3 +29,5 @@ int set_debug_level(enum debug_data_types type, int state);
char get_debug_level(enum debug_data_types type);
int send_debug_data( struct CommDriver *comm, );
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment