@robotical/ricjs
Version:
Javascript/TS library for Robotical RIC
14 lines (13 loc) • 555 B
TypeScript
import { ROSSerialAddOnStatus } from './RICROSSerial';
import { RICReportMsg } from './RICTypes';
export default abstract class RICAddOnBase {
_name: string;
_typeName: string;
_whoAmI: string;
_whoAmITypeCode: string;
_isStatic: boolean;
_initCmd: string | null;
constructor(name: string, typeName: string, whoAmI: string, whoAmITypeCode: string);
abstract processInit(_dataReceived: RICReportMsg): void;
abstract processPublishedData(addOnID: number, statusByte: number, rawData: Uint8Array): ROSSerialAddOnStatus;
}