micro-ROS / micro-ROS/micro_ros_setup

uxr/agent/AgentInstance.hpp directory not found

Offen
#712 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Shell
Sterne
509
Forks
183
Ø Merge
22 Std. 26 Min.
Gemergte PRs (30 T.)
7

Beschreibung

Issue template

  • Hardware description: Minisforum EM780 Linux
  • Installation type: micro-ros-setup
  • Version or commit hash: ros2 humble
Steps to reproduce the issue

I followed the instruction with the following link
https://micro.ros.org/docs/tutorials/core/first_application_linux/
I have created the firmware successfully
ros2 run micro_ros_setup create_firmware_ws.sh host
but next when i try to build the firmware, error came out
ros2 run micro_ros_setup build_firmware.sh
In file included from /home/user/chin_ws/src/uros/micro-ROS-Agent/micro_ros_agent/src/agent/Agent.cpp:18:
/home/user/chin_ws/src/uros/micro-ROS-Agent/micro_ros_agent/include/agent/Agent.hpp:18:10: fatal error: uxr/agent/AgentInstance.hpp: No such file or directory
18 | #include <uxr/agent/AgentInstance.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/user/chin_ws/src/uros/micro-ROS-Agent/micro_ros_agent/src/main.cpp:15:
/home/user/chin_ws/src/uros/micro-ROS-Agent/micro_ros_agent/include/agent/Agent.hpp:18:10: fatal error: uxr/agent/
AgentInstance.hpp: No such file or directory
18 | #include <uxr/agent/AgentInstance.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Expected behavior

build successfully

Where should I find this file or directory?

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, create_firmware_ws.sh host und build_firmware.sh aus dem micro-ROS-Linux-Tutorial erneut auszuführen. Untersuche anschließend micro_ros_agent/include/agent/Agent.hpp sowie die gemeldeten Include-Fehler in Agent.cpp und main.cpp. Verfolge, woher uxr/agent/AgentInstance.hpp erwartungsgemäß kommen soll; als erledigt gilt die Aufgabe, wenn der Firmware-Build erfolgreich abgeschlossen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
linux, shell
Bereich
build-system, cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.