mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
tweak
This commit is contained in:
@@ -77,12 +77,13 @@ export default function DockAssistHUD({ sensors }) {
|
||||
{/* Dock icon: sideways D with rounded top corners */}
|
||||
<path
|
||||
d={`
|
||||
M ${CX - 15} ${DOCK_Y - 6}
|
||||
Q ${CX - 13} ${DOCK_Y - 8} ${CX - 11} ${DOCK_Y - 8}
|
||||
H ${CX + 9}
|
||||
Q ${CX + 19} ${DOCK_Y - 6} ${CX + 19} ${DOCK_Y + 6}
|
||||
Q ${CX + 19} ${DOCK_Y + 18} ${CX + 9} ${DOCK_Y + 20}
|
||||
H ${CX - 15}
|
||||
M ${CX - 16} ${DOCK_Y - 6}
|
||||
Q ${CX - 10} ${DOCK_Y - 9} ${CX - 4} ${DOCK_Y - 8}
|
||||
H ${CX + 12}
|
||||
Q ${CX + 20} ${DOCK_Y - 4} ${CX + 18} ${DOCK_Y + 4}
|
||||
Q ${CX + 16} ${DOCK_Y + 18} ${CX} ${DOCK_Y + 26}
|
||||
Q ${CX - 16} ${DOCK_Y + 18} ${CX - 18} ${DOCK_Y + 4}
|
||||
Q ${CX - 19} ${DOCK_Y - 2} ${CX - 12} ${DOCK_Y - 4}
|
||||
Z
|
||||
`}
|
||||
fill="#0b1220"
|
||||
@@ -90,10 +91,10 @@ export default function DockAssistHUD({ sensors }) {
|
||||
strokeWidth="0.8"
|
||||
/>
|
||||
{/* Force field emitter dot */}
|
||||
<circle cx={CX - 4} cy={DOCK_Y - 2} r="1.7" fill="#60a5fa" />
|
||||
<circle cx={CX - 2} cy={DOCK_Y - 1} r="1.7" fill="#60a5fa" />
|
||||
{/* Contacts */}
|
||||
<rect x={CX + 1} y={DOCK_Y + 6} width="2.8" height="7" rx="0.8" fill="#e2e8f0" />
|
||||
<rect x={CX + 5.5} y={DOCK_Y + 6} width="2.8" height="7" rx="0.8" fill="#e2e8f0" />
|
||||
<rect x={CX - 1.5} y={DOCK_Y + 8} width="3" height="7" rx="0.9" fill="#e2e8f0" />
|
||||
<rect x={CX + 3.5} y={DOCK_Y + 8} width="3" height="7" rx="0.9" fill="#e2e8f0" />
|
||||
|
||||
{/* Rover cue */}
|
||||
<g transform={`translate(${CX + nudge}, ${ROVER_Y})`}>
|
||||
|
||||
Reference in New Issue
Block a user