寻车功能 和返航按键 还有 任务excuting 推送 刷新功能 但是 没用,另一个电脑还没有 连接ws呢 难搞 加 另一个车道辅助线 组件实现
This commit is contained in:
@@ -13,7 +13,10 @@ export type RobotFeature =
|
||||
| 'response'
|
||||
| 'obstacleAvoidance'
|
||||
| 'lowBatteryReturn'
|
||||
| 'tiltProtection';
|
||||
| 'tiltProtection'
|
||||
| 'findCar'
|
||||
| 'autoback';
|
||||
|
||||
|
||||
export interface FeatureConfig {
|
||||
key: RobotFeature;
|
||||
@@ -27,6 +30,10 @@ const FEATURES: FeatureConfig[] = [
|
||||
{ key: 'obstacleAvoidance', icon: <Siren className="w-5 h-5" />, activeColor: '#3b82f6', inactiveColor: '#94a3b8' },
|
||||
{ key: 'lowBatteryReturn', icon: <BatteryWarning className="w-5 h-5" />, activeColor: '#f59e0b', inactiveColor: '#94a3b8' },
|
||||
{ key: 'tiltProtection', icon: <MoveVertical className="w-5 h-5" />, activeColor: '#10b981', inactiveColor: '#94a3b8' },
|
||||
//{ key: 'findCar', icon: <Zap className="w-5 h-5" />, activeColor: '#22c55e', inactiveColor: '#c4158c' },
|
||||
{ key: 'autoback', icon: <Zap className="w-5 h-5" />, activeColor: '#22c55e', inactiveColor: '#133c75' },
|
||||
|
||||
|
||||
];
|
||||
|
||||
interface RobotFeatureButtonsProps {
|
||||
|
||||
Reference in New Issue
Block a user