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
26 class AngleSpeedActuator;
27 class AngleSpeedSensor;
31 class CoupledActuator;
33 class DepthInfraredSensor;
40 class WheelTorqueActuator;
41 class WheelVelocityActuator;
42 class WheelVelocitySensor;
67 float fetchAngleActuatorValue(
const AngleActuator* angleActuator);
73 float fetchCoupledActuatorValue(
const CoupledActuator* coupledActuator);
79 float fetchTorqueActuatorValue(
const TorqueActuator* torqueActuator);
85 float fetchAngleSpeedActuatorValue(
92 float fetchWheelTorqueActuatorValue(
99 float fetchWheelVelocityActuatorValue(
105 float fetchLEDActuatorValue(
const LEDActuator* ledActuator);
112 float fetchAngleActuatorStiffness(
const AngleActuator* angleActuator);
118 float fetchCoupledActuatorStiffness(
const CoupledActuator* coupledActuator);
124 float fetchTorqueActuatorStiffness(
const TorqueActuator* torqueActuator);
130 float fetchAngleSpeedActuatorStiffness(
137 float fetchWheelTorqueActuatorStiffness(
144 float fetchWheelVelocityActuatorStiffness(
148 bool sendAngleSensorValue(
152 bool sendCoupledSensorValue(
155 bool sendTorqueSensorValue(
158 bool sendAngleSpeedSensorValue(
162 bool sendWheelVelocitySensorValue(
168 bool sendCameraSensorValue(
169 const CameraSensor* cameraSensor,
const unsigned char* img);
171 bool sendFSRSensorValue(
172 const FSRSensor* fsrSensor,
float value);
174 bool sendBumperSensorValue(
178 bool sendTactileSensorValue(
182 bool sendDepthInfraredSensorValue(
188 bool sendInertialSensorValues(
189 const InertialSensor* inertialSensor, std::vector<const float*> values);
192 bool sendSonarSensorValues(
193 const SonarSensor* sonarSensor, std::vector<const float*> values);
201 bool sendInertialSensorValues(
214 bool sendSonarSensorValues(
215 const SonarSensor* sonarSensor, std::vector<float> values);
219 bool sendSonarSensorValue(
const SonarSensor* sonarSensor,
float value);
223 std::string activeCamera();
229 int cameraBufferSize();
233 void cameraBufferSize(
235 int* cameraBufferSize,