Files
p3dx-catkin/tests/known-gaps.txt
T
dsh 0148385266 waypoints: reconstruir o pacote perdido como RECONSTRUCAO DECLARADA
O gitlink src/waypoints (sha 115553cfa8c2ace122414ac5a9b235cd2e225693) apontava
para codigo que nao existe em nenhum remoto conhecido (Gitea, GitHub, maquina,
web) e que o autor ja nao tem. O resultado era concreto: `rosrun waypoints
waypoints_server`, que guide.txt manda correr, nao resolvia num clone limpo, e a
unica saida honesta era reconstruir ou documentar a falta. O autor autorizou a
reconstrucao ("ja nao tenho waypoints, se conseguires criar um, agradecia"),
por isso o gitlink e substituido por conteudo dentro do repositorio
(`git rm --cached src/waypoints` + ficheiros commitados), escrito a partir das
pistas que sobreviveram:

  * guide.txt: nome do pacote (`waypoints`) e do executavel
    (`waypoints_server`), sem argumentos - o unico contrato documentado;
  * p3dx_navigation.rviz: as classes `waypoints/waypointPanel` (painel) e
    `waypoints/Waypoints` (ferramenta, `Topic: waypoint`) provam que o original
    tambem trazia plugins rviz em C++ e que o topico `waypoint` era usado.

O que fica e uma RECONSTRUCAO DECLARADA, nao o trabalho original: Python (o
autor pediu legibilidade, e um no C++ com interface adivinhada nao poderia ser
compilado nem testado aqui), um servidor de waypoints conservador
(`geometry_msgs/PoseStamped` em `waypoint` -> `geometry_msgs/PoseArray`
latched em `waypoints`), e um README dentro do pacote que diz o que e certo
(o nome do no), o que e inferido (topicos, tipos, parametros), que os plugins
rviz do original NAO foram reproduzidos e que quem reutilizar isto deve
confirmar o interface antes de confiar nele.

Os documentos passam a dizer isto: README.md (seccao do waypoints e linha da
tabela de licencas: GPLv3, como o resto do repo), tests/known-gaps.txt (a
lacuna deixa de ser o codigo e passa a ser o ORIGINAL, e o `darknet_ros` do
guide.txt continua por resolver) e tests/run.sh + tests/negative.sh (8
verificacoes novas, incluindo as negativas em copias mktemp: apagar o no,
tirar o package.xml, tirar o +x, renomear o no, estragar o Python, tirar a
declaracao e voltar a fazer gitlink). O .gitmodules nao muda: so `rosaria`
continua a ser submodulo, e como `waypoints` era o ultimo gitlink sem
mapeamento, `git submodule status` deixa de se queixar e o clone limpo deixa de
trazer um diretorio vazio.

O que isto NAO prova, e fica dito: nao houve ROS neste ambiente, portanto nao
houve catkin_make nem rosrun. So a estrutura, o nome do no e a sintaxe
(python3 -m py_compile) foram verificados.
2026-10-08 16:58:17 +01:00

32 lines
1.6 KiB
Plaintext

# Gitlinks (index mode 160000) that are KNOWN to have no `.gitmodules` entry.
#
# THERE ARE NONE ANY MORE. Every gitlink left in the index (`src/rosaria`) is
# declared in `.gitmodules`, and the historical `src/waypoints` gitlink was
# replaced by in-tree content written as a DECLARED RECONSTRUCTION (see
# `src/waypoints/README.md`). tests/run.sh fails if a gitlink turns up that is
# not declared, so an unmapped one cannot come back unnoticed.
#
# One path per line, relative to the repository root. Blank lines and lines
# starting with '#' are ignored.
#
# tests/run.sh FAILS if a gitlink shows up that is not listed here (a
# regression), and only prints a NOTE if a path listed here is no longer a gap
# (meaning this baseline is stale and should be pruned).
#
# What is genuinely missing now is NOT the waypoints code (that was
# reconstructed) but the ORIGINAL, plus a documentation-conformance gap:
#
# * The original `waypoints` package. The gitlink commit
# 115553cfa8c2ace122414ac5a9b235cd2e225693 exists in no known remote (not in
# Gitea, not in the author's GitHub account, not on the machine, not on the
# web) and the author no longer has it, so the original work is still lost -
# and with it the rviz plugins that p3dx_navigation.rviz expects
# (`waypoints/waypointPanel`, `waypoints/Waypoints`), which the declared
# reconstruction in `src/waypoints/` does not reproduce.
#
# * `darknet_ros`, which the OBJECT DETECTION part of guide.txt runs
# (`roslaunch darknet_ros darknet_ros.launch`) and which is not under `src/`:
# a documentation-conformance gap, not a gitlink.
#
# Both are recorded in README.md and are not fixed here.