From 26fca9422ae607eb10cab2886709627ac3cb4c16 Mon Sep 17 00:00:00 2001 From: beuchatp <beuchatp@control.ee.ethz.ch> Date: Fri, 1 Dec 2017 06:05:20 +0100 Subject: [PATCH] Fixed typos in other object FAQ --- pps_wiki/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pps_wiki/faq.md b/pps_wiki/faq.md index c9bafbf3..b3b9aa5e 100644 --- a/pps_wiki/faq.md +++ b/pps_wiki/faq.md @@ -168,10 +168,10 @@ void xyz_yaw_to_follow_callback(const Setpoint& newSetpoint) setpoint[2] = newSetpoint.z; setpoint[3] = newSetpoint.yaw; } - ``` + ### How can my controller receive the position of another object recognised by the Vicon system? In the ``calculateControlOutput`` function of your ``CustomControllerService.cpp`` file is called everytime that the Vicon system provides new data, where this data is provided to ``calculateControlOutput`` function in the ``request`` variable and the calculated control output to apply is returned in the ``response``. In this way the ``calculateControlOutput`` function is performing in ROS what is referred to as a service. This service is advertised in the ``main()`` function of your ``CustomControllerService.cpp`` file by the line of code: -- GitLab