diff --git a/conf/TUDELFT/tudelft_rm_conf.xml b/conf/TUDELFT/tudelft_rm_conf.xml index 6d2f46b2f6..444c6cf9d0 100644 --- a/conf/TUDELFT/tudelft_rm_conf.xml +++ b/conf/TUDELFT/tudelft_rm_conf.xml @@ -5,9 +5,20 @@ airframe="airframes/TUDELFT/tudelft_ardrone2_oa_clint_roland.xml" radio="radios/dummy.xml" telemetry="telemetry/default_rotorcraft.xml" + flight_plan="flight_plans/rotorcraft_optitrack.xml" + settings="settings/rotorcraft_basic.xml settings/control/rotorcraft_guidance.xml [settings/control/stabilization_att_indi.xml] settings/control/stabilization_rate.xml settings/control/stabilization_att_int_quat.xml" + settings_modules="" + gui_color="red" + /> + - - diff --git a/conf/airframes/BR/ladybird_kit_bart_bluegiga_optitrack.xml b/conf/airframes/BR/ladybird_kit_bart_bluegiga_optitrack.xml index e2306c2ace..312fe4ad0d 100644 --- a/conf/airframes/BR/ladybird_kit_bart_bluegiga_optitrack.xml +++ b/conf/airframes/BR/ladybird_kit_bart_bluegiga_optitrack.xml @@ -79,7 +79,7 @@ - + @@ -210,12 +210,11 @@ - - + @@ -227,11 +226,6 @@ - - - - - diff --git a/conf/messages.xml b/conf/messages.xml index 26e11c916e..7756ace64b 100644 --- a/conf/messages.xml +++ b/conf/messages.xml @@ -887,7 +887,14 @@ - + + + + + + + + diff --git a/conf/modules/stereocam_follow_me.xml b/conf/modules/stereocam_follow_me.xml index 2c4415d6e1..feb92eae24 100644 --- a/conf/modules/stereocam_follow_me.xml +++ b/conf/modules/stereocam_follow_me.xml @@ -2,7 +2,10 @@ - follows based on stereo + Follows a person using the reference given by the stereocam. + This module does so by changing the yaw angle and roll angle alternatively. + This way the drone does not drift away, and keeps looking at the person it tries to follow. +
diff --git a/conf/telemetry/default_rotorcraft.xml b/conf/telemetry/default_rotorcraft.xml index b358163be4..a06e2b97b9 100644 --- a/conf/telemetry/default_rotorcraft.xml +++ b/conf/telemetry/default_rotorcraft.xml @@ -26,6 +26,7 @@ + diff --git a/sw/airborne/modules/stereocam/stereocam_follow_me/follow_me.c b/sw/airborne/modules/stereocam/stereocam_follow_me/follow_me.c index 27723756ef..8efa9e398b 100644 --- a/sw/airborne/modules/stereocam/stereocam_follow_me/follow_me.c +++ b/sw/airborne/modules/stereocam/stereocam_follow_me/follow_me.c @@ -7,7 +7,9 @@ /** * @file modules/stereocam/stereocam_follow_me/stereocam_follow_me.c * @author Roland - * follows a person using the reference given by the stereocam. + * Follows a person using the reference given by the stereocam. + * This module does so by changing the yaw angle and roll angle alternatively. + * This way the drone does not drift away, and keeps looking at the person it tries to follow. */ #include "modules/stereocam/stereocam_follow_me/follow_me.h" diff --git a/sw/airborne/modules/stereocam/stereocam_follow_me/follow_me.h b/sw/airborne/modules/stereocam/stereocam_follow_me/follow_me.h index eb7d87b153..be6293f73b 100644 --- a/sw/airborne/modules/stereocam/stereocam_follow_me/follow_me.h +++ b/sw/airborne/modules/stereocam/stereocam_follow_me/follow_me.h @@ -5,9 +5,11 @@ * */ /** - * @file "modules/stereocam/stereocam_follow_me/stereocam_follow_me.h" + * @file modules/stereocam/stereocam_follow_me/stereocam_follow_me.h * @author Roland - * follows a person using the reference given by the stereocam. + * Follows a person using the reference given by the stereocam. + * This module does so by changing the yaw angle and roll angle alternatively. + * This way the drone does not drift away, and keeps looking at the person it tries to follow. */ #ifndef FOLLOW_ME_H diff --git a/sw/airborne/subsystems/abi_sender_ids.h b/sw/airborne/subsystems/abi_sender_ids.h index 0750518d7b..1b67b3c6fa 100644 --- a/sw/airborne/subsystems/abi_sender_ids.h +++ b/sw/airborne/subsystems/abi_sender_ids.h @@ -230,5 +230,11 @@ #define PX4FLOW_VELOCITY_ID 17 #endif +#ifndef STEREO_VELOCITY_ID +#define STEREO_VELOCITY_ID 18 +#endif + + + #endif /* ABI_SENDER_IDS_H */