Project

General

Profile

Revision 6ebee82c

ID6ebee82cf91abf048eaf42a61093144dd1743693
Parent bda6eaa0
Child 492d2fde, 673f8af1

Added by Alex Zirbel about 11 years ago

Moved all messages to the messages/ folder.

This meant changing a lot of includes and things.

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