@wandelbots/wandelbots-js-react-components
Version:
React UI toolkit for building applications on top of the Wandelbots platform
21 lines • 1.14 kB
TypeScript
import { Manufacturer } from "@wandelbots/nova-api/v1";
/**
* Default home configs for different robot manufacturers.
* These joint configurations represent safe home configs for each manufacturer's robots.
* All angles are in radians.
*/
export declare const MANUFACTURER_HOME_CONFIGS: Record<Manufacturer, number[]>;
/**
* Extracts manufacturer from modelFromController string.
* @param modelFromController - String in format "Manufacturer_ModelName"
* @returns Manufacturer enum value or null if not recognized
*/
export declare function extractManufacturer(modelFromController: string): Manufacturer | null;
/**
* Gets the default home config for a robot based on its model identifier.
* @param modelFromController - String in format "Manufacturer_ModelName"
* @param defaultJointConfig - Optional custom default configuration to use if manufacturer not found
* @returns Array of joint positions in radians, or null if no configuration available
*/
export declare function getDefaultHomeConfig(modelFromController: string, defaultJointConfig?: number[]): number[] | null;
//# sourceMappingURL=manufacturerHomePositions.d.ts.map