Closed Danendra10 closed 1 year ago
Hello,
The problem seems to be due to the AprilTag submodule probably not being included in the cloned version of the simulator.
Please, first check the contents of the submodule using ls avisengine_environment/gazebo_apriltag
and if there is no result showing up, then this is the case.
And to solve this, you can either
Solution 1. Try and clone the submodule directly.
cd ~/catkin_ws/src/FIRA-Autonomous-Cars-Simulator #Path to the simulator if different
cd avisengine_environment/models
git clone https://github.com/koide3/gazebo_apriltag/
cd ~/catkin_ws/
catkin_make
Solution 2. Remove the existing installation if there is no change made to it, and try re-cloning the entire repository recursively, which will include the submodules:
cd ~/catkin_ws/src
git clone --recursive https://github.com/Fira-Autonomous-Cars/FIRA-Autonomous-Cars-Simulator/
cd ~/catkin_ws/
catkin_make
Solution 3. Try updating the submodules:
cd ~/catkin_ws/src/FIRA-Autonomous-Cars-Simulator/
git submodule update --init --recursive
cd ~/catkin_ws/
catkin_make
I hope this helps, please let me know if it resolved the issue.
sadly, there are no gazebo_apriltag
, this is my directory
ls src/FIRA-Autonomous-Cars-Simulator/avisengine_environment/
CMakeLists.txt launch meshes models package.xml scripts urdf worlds
Maybe this could help
ll in FIRA-Autonomous-Cars-SImulator
ll
total 108
drwxrwxr-x 19 iris iris 4096 Jul 7 06:44 ./
drwxrwxr-x 3 iris iris 4096 Jul 7 06:46 ../
drwxrwxr-x 3 iris iris 4096 Jul 7 06:44 autonomous_vehicle_nosecurity/
drwxrwxr-x 3 iris iris 4096 Jul 7 06:44 autonomous_vehicle_project/
drwxrwxr-x 3 iris iris 4096 Jul 7 06:44 autonomous_vehicle_simple/
drwxrwxr-x 3 iris iris 4096 Jul 7 06:44 autonomous_vehicle_teb/
drwxrwxr-x 8 iris iris 4096 Jul 7 06:44 avisengine_environment/
drwxrwxr-x 3 iris iris 4096 Jul 7 06:44 avisengine_resources/
drwxrwxr-x 6 iris iris 4096 Jul 7 06:44 can_sim_tc/
drwxrwxr-x 12 iris iris 4096 Jul 7 06:44 catvehicle_basics/
drwxrwxr-x 7 iris iris 4096 Jul 7 06:44 dataspeed_can/
drwxrwxr-x 11 iris iris 4096 Jul 7 06:44 dbw_mkz_ros/
-rw-rw-r-- 1 iris iris 6148 Jul 7 06:44 .DS_Store
drwxrwxr-x 3 iris iris 4096 Jul 7 06:44 example_pkg/
drwxrwxr-x 9 iris iris 4096 Jul 7 06:44 .git/
-rw-rw-r-- 1 iris iris 163 Jul 7 06:44 .gitmodules
drwxrwxr-x 2 iris iris 4096 Jul 7 06:44 images/
-rw-rw-r-- 1 iris iris 7048 Jul 7 06:44 LICENSE
drwxrwxr-x 4 iris iris 4096 Jul 7 06:44 lusb/
-rw-rw-r-- 1 iris iris 668 Jul 7 06:44 packages.txt
-rw-rw-r-- 1 iris iris 5774 Jul 7 06:44 README.md
drwxrwxr-x 5 iris iris 4096 Jul 7 06:44 sicktoolbox/
drwxrwxr-x 4 iris iris 4096 Jul 7 06:44 sicktoolbox_wrapper/
drwxrwxr-x 6 iris iris 4096 Jul 7 06:44 teb_navigation_demo/
ll in evisengine_environment
~/catkin_ws/src/FIRA-Autonomous-Cars-Simulator/avisengine_environment$ ll
total 52
drwxrwxr-x 8 iris iris 4096 Jul 7 06:44 ./
drwxrwxr-x 19 iris iris 4096 Jul 7 06:44 ../
-rw-rw-r-- 1 iris iris 7126 Jul 7 06:44 CMakeLists.txt
-rw-rw-r-- 1 iris iris 6148 Jul 7 06:44 .DS_Store
drwxrwxr-x 2 iris iris 4096 Jul 7 06:44 launch/
drwxrwxr-x 3 iris iris 4096 Jul 7 06:44 meshes/
drwxrwxr-x 4 iris iris 4096 Jul 7 06:44 models/
-rw-rw-r-- 1 iris iris 1211 Jul 7 06:44 package.xml
drwxrwxr-x 2 iris iris 4096 Jul 7 06:44 scripts/
drwxrwxr-x 2 iris iris 4096 Jul 7 06:44 urdf/
drwxrwxr-x 2 iris iris 4096 Jul 7 06:44 worlds/
i tried all the 3 steps, can you please help me with this issue
Ok, then try this instead. Surely the directory should be there, but it won't probably have no content in it.
ll ~/catkin_ws/src/FIRA-Autonomous-Cars-Simulator/avisengine_environment/models/gazebo_apriltag
Thanks for the reply, this is our console
:~/catkin_ws$ ll ~/catkin_ws/src/FIRA-Autonomous-Cars-Simulator/avisengine_environment/models/gazebo_apriltag
total 120
drwxrwxr-x 5 iris iris 4096 Jul 7 06:44 ./
drwxrwxr-x 4 iris iris 4096 Jul 7 06:44 ../
drwxrwxr-x 10 iris iris 4096 Jul 7 06:46 apriltag-imgs/
-rwxrwxr-x 1 iris iris 1674 Jul 7 06:44 generate.py*
-rw-rw-r-- 1 iris iris 76 Jul 7 06:44 .git
-rw-rw-r-- 1 iris iris 108 Jul 7 06:44 .gitmodules
drwxrwxr-x 18 iris iris 4096 Jul 7 06:44 models/
-rw-rw-r-- 1 iris iris 471 Jul 7 06:44 README.md
-rw-rw-r-- 1 iris iris 82804 Jul 7 06:44 ss.png
drwxrwxr-x 3 iris iris 4096 Jul 7 06:44 template/
it seems ok compared to https://github.com/koide3/gazebo_apriltag/tree/1f4d6077476d3f7c64f65d27b24b17c06056fe45 but in my console when i do
roslaunch avisengine_environment track_urban_simple.launch
it says
[Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/iris/catkin_ws/src/FIRA-Autonomous-Cars-Simulator/avisengine_environment/models/gazebo_apriltag"
sadly it's still returning the same error
some errors that i noticed here is
Ok, so the output shows that the submodule was updated, I will fix all the 3 issues since they're all related to the world file. Did the Apriltags show up?
you mean the qrcode-like sign right? no it doesn't shown up, but all other sign (the sign like in our real world) is showing
Ok, I will try to reproduce this issue.
thank you, really apreciate that, let me know when you're finished
Excuse me, do you have any update on my issue? thanks
Sorry, I've check the latest commits, and i did follow the steps, and unfortunately it still returns
[Err] [InsertModelWidget.cc:403] Missing model.config for model "/home/iris/catkin_ws/src/FIRA-Autonomous-Cars-Simulator/avisengine_environment/models/gazebo_apriltag"
sorry, maybe there's something wrong with my environment, cause my friend can get the barcode, I'll try it again
I dropped the submodule dependency and added the config file since it was not included in the main repository (see this commit f4d67063ed9310ce323b17cc7d6f6e1b136dad8e.)
Please re-clone the simulator repository and try catkin_make
. I hope it works for you.
I will also send a link to this issue to discord, in case anybody else faces the same issue. Please reinstall the simulator and let me know if it worked for you. Thanks!
There are a lot of models that missong on urban track, this is the log file