diff --git a/groundStation/src/cli/cli_getpid.c b/groundStation/src/cli/cli_getpid.c index bcf135870f4653ea0fecaf4a2c51b71772f93694..bb887ca24242fb05f4a22710becf248cdb6f8f62 100644 --- a/groundStation/src/cli/cli_getpid.c +++ b/groundStation/src/cli/cli_getpid.c @@ -7,12 +7,20 @@ int cli_getpid(struct backend_conn * conn, int argc, char **argv) { int c; static int getRoll = 0, getPitch = 0, getYaw = 0, getAll = 0; + static int getRollV = 0, getPitchV = 0, getYawV = 0; + static int getHeight = 0, getLat = 0, getLong = 0; struct frontend_pid_data pid_data; static struct option long_options[] = { /* These options don’t set a flag. We distinguish them by their indices. */ {"roll", no_argument, &getRoll, 1}, {"pitch", no_argument, &getPitch, 1}, {"yaw", no_argument, &getYaw, 1}, + {"rollv", no_argument, &getYawV, 1}, + {"pitchv", no_argument, &getYawV, 1}, + {"yawv", no_argument, &getYawV, 1}, + {"height", no_argument, &getHeight, 1}, + {"lat", no_argument, &getLat, 1}, + {"long", no_argument, &getLong, 1}, {0, 0, 0, 0} };