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.
src/rosaria and src/waypoints are gitlinks (index mode 160000) with no
.gitmodules entry, so a fresh clone created EMPTY directories. Because
src/robot/package.xml declares <depend>rosaria</depend>, a clean clone could not
be built, and the `rosrun waypoints waypoints_server` step in guide.txt could not
resolve.
- .gitmodules: declare src/rosaria -> github.com/amor-ros-pkg/rosaria.git.
Verified rather than guessed: commit 204dc0c6785abb4037c1c5ee76439cf5f50cb880
exists on that repository's master branch.
- src/waypoints: its origin could NOT be identified (not in the Gitea instance,
not in the author's GitHub account, not on the machine, not on the web), so no
entry was invented for it. It is documented in the README as a known gap and
listed in tests/known-gaps.txt.
- tests/run.sh: offline integrity checks - packages complete, package names
present and unique, catkin toplevel symlink, every gitlink declared or a
documented gap, src/rosaria resolves at the pinned commit, every in-tree
<depend> points at a package that exists. Exits non-zero on failure.
- tests/negative.sh: proves that suite has teeth by breaking one thing at a time
in a throwaway copy, with a positive control first.
- README: where each gitlink comes from, what a clean clone still lacks, the
darknet_ros reference in guide.txt that matches no package, and the stale
rosaria licence row (left for the author to decide).
Known limitation, documented in the README: the untargeted
`git submodule update --init` still aborts, because the unmapped src/waypoints
gitlink has no URL to resolve. Initialise by path instead:
`git submodule update --init -- src/rosaria`. That works today and will keep
working once src/waypoints is sorted out.
No package code, CMakeLists or third-party licences were changed; the repository
stays GPL-3.0. Not proven: that the workspace builds - there is no ROS in this
environment, so catkin_make was never run.
The prebuilt OpenNI2 runtime and Orbbec driver under
include/openni2_redist/ are manufacturer/third-party artefacts and nobody
ever checked whether their terms allow redistribution. Against a public
repository that is a legal unknown with no counterweight, so the binaries
leave the tree: whoever needs them installs OpenNI2 from its own official
distribution and the Orbbec driver from the manufacturer SDK (or the
distribution package that provides it).
The README now says this, and .gitignore keeps the directory from coming
back. Nothing else changes: no source, no package.xml, no CMakeLists.txt.
MIT seria uma contradicao aqui: o repo inclui p3dx_description (GPLv3) e
robot/estop (LGPLv3), alem de ros_astra_camera (Apache-2.0) e pacotes BSD. O
repo no seu conjunto fica GPL-3.0 e cada pacote de terceiros mantem a licenca
dele, agora listada no README. Ano = primeiro commit (2024).