Comments (13)
Looks like there was some problem with the installation of the simulation. If you go to ~/mrs_workspace/src
is there a symlink to the simulation? If not, you should add it (go to the ~/mrs_workspace/src
and call ln -s ~/git/simulation
), then install the simulation again (just to be sure) - run ~/git/simulation/installation/install.sh
. Recompile the workspace (go to ~/mrs_workspace
and call catkin clean
and then catkin build
).
After this, try to run one of the example tmux scripts.
from mrs_uav_system.
Dan I decided befor reading your advices to reinstall all the package again, and then I got several compilation errors:
I will post some:
Errors << mrs_gazebo_common_resources:make /home/lucas/mrs_workspace/logs/mrs_gazebo_common_resources/build.make.000.log
c++: internal compiler error: Morto (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
make[2]: *** [CMakeFiles/MRSGazeboCameraPlugin.dir/src/sensor_and_model_plugins/camera_plugin.cpp.o] Error 4
make[1]: *** [CMakeFiles/MRSGazeboCameraPlugin.dir/all] Error 2
make[1]: ** Esperando que outros processos terminem.
c++: internal compiler error: Morto (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
make[2]: *** [CMakeFiles/MRSGazeboRealsensePlugin.dir/src/sensor_and_model_plugins/realsense_plugin.cpp.o] Error 4
make[1]: *** [CMakeFiles/MRSGazeboRealsensePlugin.dir/all] Error 2
make: *** [all] Error 2
cd /home/lucas/mrs_workspace/build/mrs_gazebo_common_resources; catkin build --get-env mrs_gazebo_common_resources | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
....................................................................................................................................................................................................................
Failed << mrs_gazebo_common_resources:make [ Exited with code 2 ]
Failed <<< mrs_gazebo_common_resources [ 5 minutes and 27.9 seconds ]
Abandoned <<< mrs_simulation [ Depends on failed job mrs_gazebo_common_resources ]
Finished <<< mavros_extras [ 5 minutes and 38.1 seconds ]
Starting >>> mrs_lib
Starting >>> test_mavros
from mrs_uav_system.
Hmmm, this looks like a lower level problem. What kind of computer do you use (CPU and how much RAM)? And what version of Ubuntu are you on?
from mrs_uav_system.
Memory
descrição: Memória do sistema
ID físico: 0
tamanho: 5882MiB
*-cpu
produto: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
fabricante: Advanced Micro Devices [AMD]
informações do barramento: cpu@0
size: 3434MHz
64 bits
Ubuntu 18.04
from mrs_uav_system.
I also checked if the simlink was there, and it was. Then run the run ~/git/simulation/installation/install.sh
After trying to catkin build it again it seams like the problem is at mrs_uav_odometry compilation. It takes much more time than the other, and them the system shutdown the process. Only guessing of course
Shell msg after catkin build
Errors << mrs_uav_odometry:make /home/lucas/mrs_workspace/logs/mrs_uav_odometry/build.make.001.log
c++: internal compiler error: Morto (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
make[2]: *** [CMakeFiles/Odometry.dir/src/odometry.cpp.o] Error 4
make[1]: *** [CMakeFiles/Odometry.dir/all] Error 2
make: *** [all] Error 2
from mrs_uav_system.
this error - c++: internal compiler error: Morto (program cc1plus)
often shows up when you run out of RAM. You can open htop
during compilation to see if you are running out of RAM. You have only 6GB, which is not much, and your CPU has 8 threads, which is a lot, so it will compile 8 packages at once and might run out of RAM.
You can try to expand your swap file - https://bogdancornianu.com/change-swap-size-in-ubuntu/
Or run catkin build -j1
which will compile only with one thread, so you do not run out of RAM (it will also be much slower)
from mrs_uav_system.
Just to make sure I understood.
Do I have to re install all again or only do a catkin clean and after a catking build -j1 ?
I already have 4 GB of swaap, and you are right, the RAM memory is going out
from mrs_uav_system.
You probably do not need to reinstall, just try catkin clean; catkin build -j1
from mrs_uav_system.
I compiled it all again, this time running one package per time. After I tried to only to open an empy world with roslaunch
lucas@lucas:~/mrs_workspace$ roslaunch mrs_simulation simulation.launch gui:=true
RLException: [simulation.launch] is neither a launch file in package [mrs_simulation] nor is [mrs_simulation] a launch file name
The traceback for the exception was written to the log file
After that I tried to run the tmux_exemple
lucas@lucas:~/mrs_workspace/src/simulation/example_tmux_scripts/one_drone_gps_baro$ ./start.sh
export UAV_NAME=uav1; export RUN_TYPE=simulation; export UAV_TYPE=t650; export WORLD_NAME=simulation; export SENSORS=""
waitForSimulation; roslaunch mrs_uav_status status.launch
lucas@lucas:/git/simulation/example_tmux_scripts/one_drone_gps_baro$ export UAV_NAME=uav1; export RUN_TYPE=simulation; export UAV_TYPE=t650; export WORLD_NAME=simulation; export SENSORS=""/git/simulation/example_tmux_scripts/one_drone_gps_baro$ waitForSimulation; roslaunch mrs_uav_status status.launch
lucas@lucas:
waiting for simulation
waiting for simulation
waiting for simulation
waiting for simulation
waiting for simulation
waiting for simulation
waiting for simulation
from mrs_uav_system.
Now I think I am getting closer. I forgot to bash the /devel/setup.bash. Now the empty world is doing ok
But when I try to spawn UAV it says:
lucas@lucas:~$ spawn_uav
[rospack] Error: package 'mrs_simulation' not found
from mrs_uav_system.
Looks like the simulation is not installed properlly. Go to ~/git/simulation
and call git pull
. Then run the simulation install script again, and recompile the mrs_workspace (catkin build -j1
, or maybe -j2 to make it a bit faster).
from mrs_uav_system.
Just small advices: Error: package 'mrs_simulation' not found
is a standard ROS error. It says, that it cannot find the package from which we are launching a launch file. There may be various reasons for that.
- You did not source the workspace which contains the package. In our case, this should be done automatically, check if you have the following line in the
.bashrc
file:source ~/mrs_workspace/devel/setup.bash
- The package is not compiled. Then, find the package and try to compile it. The package is in the
~/mrs_workspace/src/simulation/ros_packages/mrs_simulation
Please, post your logs as formatted text, it is much easier to read then.
from mrs_uav_system.
Guys
Now I think it is working. I don´t know how to thank you for the pacience. I will now begin studing the topics, and when I have more doubts I will post it in another topic
Best Regards
from mrs_uav_system.
Related Issues (20)
- [DOUBT] Why are the ROS packages linked externally and not directly placed within the workspace? HOT 2
- Allow (again) to see and set non-ctu controllers and tracker in mrs_uav_status window🚀 HOT 2
- Troubles running Rviz after installing the mrs_uav_system🐞 HOT 13
- Update px4_firmware to 1.12.3. HOT 3
- Collision avoidance uses gps_origin even when rtk_origin is available. HOT 3
- MRS Bumper does not work well with complex trajectories.
- 🐞 Simulation does not start, PX4 crashes HOT 1
- 📚 Backward incompatibility: we are no longer bulding with -march=native, please README
- 📚 Backward incompatibility: `mrs_lib::Transformer` API changes, please README
- gzserver: symbol lookup error HOT 2
- ROS2 version HOT 7
- 📚 Backward incompatibility: Updates for px4 firmware v1.13.2 HOT 8
- 🐞 Lockstep is not working as it should in the new version of the simulation. HOT 1
- 🐞 Calling rosdep init fails HOT 1
- Is there a easy way to implement a simulation environment with mrs? HOT 2
- 📚 Towards the MRS UAV System 1.5 - please help updating the documentation
- Update README.md
- 🐞 Error installation via stable PPA HOT 1
- URGENT: How to completely remove mrs system full? HOT 2
- 🐞 Installtion error on Ubunto 20.04 ROS Noetic HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mrs_uav_system.