Skip to content
Snippets Groups Projects
Commit 060e6bbf authored by andreeatulbure's avatar andreeatulbure
Browse files

added linear acceleration datafield

parent 57efdfd4
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ void OrientedTactileSensorUnitObserver::reportSensorValues(int id, float pressur
offerOrUpdateDataField(channelName, "rotationRate", Variant(rotationRate), "current rotationRate");
offerOrUpdateDataField(channelName, "pressureRate", Variant(pressureRate), "current pressureRate");
offerOrUpdateDataField(channelName, "accelerationRate", Variant(accelerationRate), "current accelerationRate");
offerOrUpdateDataField(channelName, "acceleration", Variant(new Vector3(accelx, accely, accelz)), "current linear acceleration");
offerOrUpdateDataField(channelName, "linear acceleration", Variant(new Vector3(accelx, accely, accelz)), "current linear acceleration");
}
/* TODO: for integration with debug drawer
updateChannel(device);
......
......@@ -41,7 +41,6 @@ module armarx
interface OrientedTactileSensorUnitInterface extends armarx::SensorActorUnitInterface
{
//needs uint16_t
//bool loadCalibration(int accel_offset_x, int accel_offset_y, int accel_offset_z, int gyro_offset_x, int gyro_offset_y, int gyro_offset_z, int mag_offset_x, int mag_offset_y, int mag_offset_z, int accel_radius, int mag_radius );
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment