YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
MobileBaseVelocityControlServerImpl.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2025-2025 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: LGPL-2.1-or-later
4
*/
5
6
#ifndef YARP_DEV_MOBBASEVEL2DSERVERIMPL_H
7
#define YARP_DEV_MOBBASEVEL2DSERVERIMPL_H
8
9
#include "
MobileBaseVelocityControlRPC.h
"
10
#include <
yarp/dev/INavigation2D.h
>
11
#include <
yarp/os/Stamp.h
>
12
#include <
yarp/dev/ReturnValue.h
>
13
14
class
IMobileBaseVelocityControlRPCd
:
public
MobileBaseVelocityControlRPC
15
{
16
private
:
17
yarp::dev::Nav2D::INavigation2DVelocityActions
* m_iNavVel =
nullptr
;
18
std::mutex m_mutex;
19
20
public
:
21
IMobileBaseVelocityControlRPCd
(
yarp::dev::Nav2D::INavigation2DVelocityActions
* _iNavVel) { m_iNavVel = _iNavVel; }
22
23
yarp::dev::ReturnValue
applyVelocityCommandRPC
(
const
double
x_vel,
const
double
y_vel,
const
double
theta_vel,
const
double
timeout)
override
;
24
return_getLastVelocityCommand
getLastVelocityCommandRPC
()
override
;
25
26
std::mutex*
getMutex
() {
return
&m_mutex;}
27
};
28
29
#endif
// YARP_DEV_MOBBASEVEL2DSERVERIMPL_H
INavigation2D.h
MobileBaseVelocityControlRPC.h
ReturnValue.h
Stamp.h
IMobileBaseVelocityControlRPCd
Definition
MobileBaseVelocityControlServerImpl.h:15
IMobileBaseVelocityControlRPCd::applyVelocityCommandRPC
yarp::dev::ReturnValue applyVelocityCommandRPC(const double x_vel, const double y_vel, const double theta_vel, const double timeout) override
Definition
MobileBaseVelocityControlServerImpl.cpp:22
IMobileBaseVelocityControlRPCd::getLastVelocityCommandRPC
return_getLastVelocityCommand getLastVelocityCommandRPC() override
Definition
MobileBaseVelocityControlServerImpl.cpp:35
IMobileBaseVelocityControlRPCd::getMutex
std::mutex * getMutex()
Definition
MobileBaseVelocityControlServerImpl.h:26
IMobileBaseVelocityControlRPCd::IMobileBaseVelocityControlRPCd
IMobileBaseVelocityControlRPCd(yarp::dev::Nav2D::INavigation2DVelocityActions *_iNavVel)
Definition
MobileBaseVelocityControlServerImpl.h:21
MobileBaseVelocityControlRPC
Definition
MobileBaseVelocityControlRPC.h:22
return_getLastVelocityCommand
Definition
return_getLastVelocityCommand.h:20
yarp::dev::Nav2D::INavigation2DVelocityActions
Definition
INavigation2D.h:67
yarp::dev::ReturnValue
Definition
ReturnValue.h:33
YARP
3.11.100+20250603.4+gitaa77f8b5c
src
devices
networkWrappers
mobileBaseVelocityControl_nws_yarp
MobileBaseVelocityControlServerImpl.h
Generated on Wed Jun 4 2025 02:40:08 for YARP by
1.9.8