Revision 6ebee82c scout/motors/src/motors.cpp

View differences:

scout/motors/src/motors.cpp
154 154
 * @param msg The message from the set_motors topic, containing speeds and
155 155
 *  motor configuration settings.
156 156
 */
157
void motors_set(const motors::set_motors::ConstPtr& msg)
157
void motors_set(const ::messages::set_motors::ConstPtr& msg)
158 158
{
159 159
    if(msg->fl_set)
160 160
    {
......
184 184
 * @param req The request. The only field is the units requested.
185 185
 * @param res The response. The fields will be filled with values.
186 186
 */
187
bool motors_query(motors::query_motors::Request &req,
188
                  motors::query_motors::Response &res)
187
bool motors_query(::messages::query_motors::Request &req,
188
                  ::messages::query_motors::Response &res)
189 189
{
190 190
    res.fl_speed = motor_fl.get_speed();
191 191
    res.fr_speed = motor_fr.get_speed();

Also available in: Unified diff