diff --git a/lib/devices/custom.js b/lib/devices/custom.js index 4d35da7..9f3e4cd 100644 --- a/lib/devices/custom.js +++ b/lib/devices/custom.js @@ -222,7 +222,7 @@ module.exports = function custom(device) { * console.log(" axis:", data.axis); * console.log(" xMagnitud:", data.xMagnitud); * console.log(" yMagnitud:", data.yMagnitud); - * console.log(" speed:", data.timeStamp); + * console.log(" speed:", data.speed); * console.log(" timeStamp:", data.timeStamp); * }); * @return {object} promise for command @@ -349,7 +349,7 @@ module.exports = function custom(device) { * for the `dataStreaming` or `odometer` event to get the data. * * @param {Number} [sps=5] samples per second - * @param {Boolean} [remove=false] forces velocity streaming to stop + * @param {Boolean} [remove=false] forces odometer streaming to stop * @example * orb.streamOdometer(); * @@ -405,7 +405,7 @@ module.exports = function custom(device) { * for the `dataStreaming` or `accelOne` event to get the data. * * @param {Number} [sps=5] samples per second - * @param {Boolean} [remove=false] forces velocity streaming to stop + * @param {Boolean} [remove=false] forces accelOne streaming to stop * @example * orb.streamAccelOne(); * @@ -432,7 +432,7 @@ module.exports = function custom(device) { * for the `dataStreaming` or `imuAngles` event to get the data. * * @param {Number} [sps=5] samples per second - * @param {Boolean} [remove=false] forces velocity streaming to stop + * @param {Boolean} [remove=false] forces streaming of IMU angles to stop * @example * orb.streamImuAngles(); * @@ -461,7 +461,7 @@ module.exports = function custom(device) { * for the `dataStreaming` or `accelerometer` event to get the data. * * @param {Number} [sps=5] samples per second - * @param {Boolean} [remove=false] forces velocity streaming to stop + * @param {Boolean} [remove=false] forces accelerometer streaming to stop * @example * orb.streamAccelerometer(); * @@ -490,7 +490,7 @@ module.exports = function custom(device) { * for the `dataStreaming` or `gyroscope` event to get the data. * * @param {Number} [sps=5] samples per second - * @param {Boolean} [remove=false] forces velocity streaming to stop + * @param {Boolean} [remove=false] forces gyroscope streaming to stop * @example * orb.streamGyroscope(); * @@ -519,7 +519,7 @@ module.exports = function custom(device) { * for the `dataStreaming` or `motorsBackEmf` event to get the data. * * @param {Number} [sps=5] samples per second - * @param {Boolean} [remove=false] forces velocity streaming to stop + * @param {Boolean} [remove=false] forces motor back EMF streaming to stop * @example * orb.streamMotorsBackEmf(); *