From 338296499e7852b4716819f9dd9c916ec3544162 Mon Sep 17 00:00:00 2001 From: beuchatp <beuchatp@control.ee.ethz.ch> Date: Thu, 21 Mar 2019 09:27:47 +0100 Subject: [PATCH] Minor correction to the latex student workflow hints sheet --- wiki/latex/dfall_system_student_workflow_cheat_sheet.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wiki/latex/dfall_system_student_workflow_cheat_sheet.tex b/wiki/latex/dfall_system_student_workflow_cheat_sheet.tex index 01f2007b..276f1281 100644 --- a/wiki/latex/dfall_system_student_workflow_cheat_sheet.tex +++ b/wiki/latex/dfall_system_student_workflow_cheat_sheet.tex @@ -75,7 +75,7 @@ \item In the \texttt{\cppfile}, locate the function named: \begin{center} - \texttt{\computecontroloutputfunction} + \large{\texttt{\computecontroloutputfunction}} \end{center} This is the function where you implement your controller. When your controller is running, this function is called at the frequency of the motion capture system, normally set to 200Hz. Every time your function is called, it is provided with the most recent position and attitude measurement, and is expected to return the control action to be sent to your Crazyflie. @@ -83,13 +83,13 @@ \item A function for rotating the inertial frame position errors into body frame errors is already defined and named: \begin{center} - \texttt{\convertintobodyframefunction} + \large{\texttt{\convertintobodyframefunction}} \end{center} however the conversion is not implemented. You should edit this function to implement the conversion from inertial frame into body frame. \item A function for converting a thrust in Newtons to a 16-bit command is already defined and named: \begin{center} - \texttt{\convertnewtonsintocommandfunction} + \large{\texttt{\convertnewtonsintocommandfunction}} \end{center} The conversion is correctly implemented, however, if the result is greater than ${(2^{16}\!-\!1)}$, then this is wrapped back around when the command is received by the Crazyflie. You should edit this function to limit commands to a maximum of \texttt{60000}, and set commands below \texttt{2000} to be \texttt{0}. -- GitLab