8 #include <qi/macro.hpp>
10 #ifdef alnaosim_EXPORTS
11 # define ALNAOSIM_API QI_EXPORT_API
12 #elif defined(alnaosim_IMPORTS)
13 # define ALNAOSIM_API QI_IMPORT_API
20 #include "alnaosim_camera_definitions.h"
27 class AngleSpeedActuator;
28 class AngleSpeedSensor;
29 class ArrayDepthSensor;
33 class CameraDepthSensor;
35 class CameraDepthSensor;
36 class CoupledActuator;
44 class WheelTorqueActuator;
45 class WheelVelocityActuator;
46 class WheelVelocitySensor;
48 class SingleDepthSensor;
74 float fetchAngleActuatorValue(
const AngleActuator* angleActuator);
80 float fetchCoupledActuatorValue(
const CoupledActuator* coupledActuator);
86 float fetchTorqueActuatorValue(
const TorqueActuator* torqueActuator);
92 float fetchAngleSpeedActuatorValue(
99 float fetchWheelTorqueActuatorValue(
106 float fetchWheelVelocityActuatorValue(
112 float fetchLEDActuatorValue(
const LEDActuator* ledActuator);
119 float fetchAngleActuatorStiffness(
const AngleActuator* angleActuator);
125 float fetchCoupledActuatorStiffness(
const CoupledActuator* coupledActuator);
131 float fetchTorqueActuatorStiffness(
const TorqueActuator* torqueActuator);
137 float fetchAngleSpeedActuatorStiffness(
144 float fetchWheelTorqueActuatorStiffness(
151 float fetchWheelVelocityActuatorStiffness(
155 bool sendAngleSensorValue(
159 bool sendCoupledSensorValue(
162 bool sendTorqueSensorValue(
165 bool sendAngleSpeedSensorValue(
169 bool sendWheelVelocitySensorValue(
177 bool sendCameraSensorValue(
178 const CameraSensor* cameraSensor,
const unsigned char* img);
182 bool sendCameraSensorValue(
184 const unsigned char* img,
185 CameraResolution camResolution,
186 CameraColorSpace camColorSpace);
195 bool sendCameraDepthSensorValue(
197 const float* buffer);
202 bool sendCameraDepthSensorValue(
205 CameraResolution camResolution,
206 CameraColorSpace camColorSpace);
209 bool sendFSRSensorValue(
210 const FSRSensor* fsrSensor,
float value);
212 bool sendBumperSensorValue(
216 bool sendTactileSensorValue(
221 bool sendDepthInfraredSensorValue(
225 bool sendSingleDepthSensorValue(
235 bool sendInertialSensorValues(
236 const InertialSensor* inertialSensor,
const std::vector<float>& values);
248 bool sendSonarSensorValues(
249 const SonarSensor* sonarSensor,
const std::vector<float>& values);
253 bool sendSonarSensorValue(
const SonarSensor* sonarSensor,
float value);
256 bool sendArrayDepthSensorValues(
258 const std::vector<float>& values);
262 void cameraBufferSize(
264 int* cameraBufferSize,
278 void cameraDepthBufferSize(
280 int* cameraBufferSize,
285 CameraResolution cameraResolution(
const BaseCamera* camera)
const;
287 CameraColorSpace cameraColorSpace(
const BaseCamera* camera)
const;
295 void ALNAOSIM_API cameraResolution(CameraResolution camRes,
int* width,
int* height);
class HALInterfaceImpl * a_impl
Private implementation.
HALInterface is responsible for reading and writing values into the Hardware Abstraction Layer (HAL) ...
SingleDepthSensor DepthInfraredSensor