-
Notifications
You must be signed in to change notification settings - Fork 60
/share directory and tutorial.repos file are not created after ros_cross_compile #342
Comments
I am also noticing that a bug was introduced in the 0.9 version so that a I have updatd the README in 921884e to have the correct commands necessary for the tutorial to work as expected at the moment, and will try to put in a fix for the |
@emersonknapp Hi, did you test this with a target platform?, now the share directory is created but when I run in my target: from from from your tutorial: I got an error: E: Unable to locate package ros-foxy-example-interfaces My target is a custom Linux distribution from Xilinx built from Yocto, its name is Petalinux, and I installed Ubuntu 20.04 LTS arm64 over that distro |
Assuming you have APT on this platform and have ROS dependencies you need to install that way, you still need to set up the ROS 2 APT sources as you would for any system, as described at https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html#setup-sources. I have added some language in ccc6497 calling this out. I am assuming that's the problem you're experiencing here. Thanks for reporting and following up on these issues - it will improve the experience for others |
I already try that, I followed this steps: |
You shouldn't need the development tools - that's for building, which you have already done. I wonder if maybe the sources setup didn't work correctly for your custom distro.
|
hi @emersonknapp I could solve the error: E: Unable to locate package ros-foxy-example-interfaces it was my fault, I was using a 32 bits ubuntu distro in my embedded linux instead a 64 bits, once I run
but now I get: I will answer your questions: 2.- What are the contents of /etc/apt/sources.list.d/ros2.list? 3.- Are there any errors when you apt-get update? |
"Assuming you have APT on this platform and have ROS dependencies you need to install that way, you still need to set up the ROS 2 APT sources as you would for any system" What dependencies are you talking about? |
I used the |
@emersonknapp when testing the demo in the target board you must add the sources for the listener too: source install_aarch64/setup.bash #and in a different shell, add sources too |
Hi, I am using the tool in a VM running Ubuntu 18.04.04, after the installation (I install the latest Docker engine), I follow the tutorial but after the ros_cross_compile command I realize that:
1.- tutorial.repos is not created in my workspace
2.- the path install_aarch64/share is unreachable because the share directory is not created, I realize this when I copy the directory install_aarch64 to my target device and run
rosdep install --from-paths install_aarch64/share --ignore-src --rosdistro foxy -y
I got an error that says the path install_aarch64/share is not found
What could be the problem?
The text was updated successfully, but these errors were encountered: