Converts a MotionMasterMessage instance into a plain JavaScript object with full defaults and JSON-compatible values.
MotionMasterMessage
The conversion uses MotionMasterMessage.toObject with options that:
MotionMasterMessage.toObject
oneof
A plain object representation of the message with all fields populated and JSON-safe.
const plainObject = createPlainObjectFromMotionMasterMessage(message);console.log(plainObject.status); // → fully populated status object
The MotionMasterMessage instance to convert.
Generated using TypeDoc
Converts a
MotionMasterMessageinstance into a plain JavaScript object with full defaults and JSON-compatible values.The conversion uses
MotionMasterMessage.toObjectwith options that:oneofproperties indicating which field is set.Returns
A plain object representation of the message with all fields populated and JSON-safe.
Example
Remarks