Comments (12)
Hi all,
I had almost the same problem.
I've been trying to build CrazyS on Windows Subsystem for Linux (WSL), using Ubuntu 20.04
, ROS Noetic, and Gazebo 11
.
Every time I tried to build rotors_gazebo
and rotors_simulator
an error was raised.
As a result, when I launched the hovering example, the drone didn't fly.
After testing many possible solutions, I discovered it is because the swap is 1GB on my WSL (you can find it by swapon --show
), which was insufficient.
I simply increased it to 4GB (see here) and the problem was solved.
Hope this helps.
from crazys.
Thanks for opening your first issue here! Make sure that no other issues on the same topic have already been opened!
from crazys.
Hello! It's a bit unclear to me what's happening in that context. Could you please provide more information regarding the Ubuntu and ROS releases you're referring to? Thank you!
Have you had the opportunity to review the resolved issues? The problem may have already been resolved.
from crazys.
hello, I have ubunto 20.04.2.0, ros noetic e Gazebo multi-robot simulator, version 11.11.0 with Virtual Box. Installed CrazyS following ReadMe.md and when i run 'catkin build', I encounter the issues i shared in my previous post. I read solution #590, which had the same error as mine, and it said to follow the ReadMe.md, which I followed to use CrazyS, but every time I try to 'catkin build,' it gives me an error in the build of rotors_gazebo_plugins
from crazys.
I see. It appears that some updates may be missing. Please rerun the following commands and give me back with the results.
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
$ sudo apt install curl # if you haven't already installed curl
$ curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
$ sudo apt update
$ sudo apt install ros-noetic-desktop-full ros-noetic-joy ros-noetic-octomap-ros ros-noetic-mavlink
$ sudo apt install ros-noetic-octomap-mapping ros-noetic-control-toolbox
$ sudo apt install python3-vcstool python3-catkin-tools protobuf-compiler libgoogle-glog-dev
$ sudo rosdep init
$ rosdep update
$ echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
$ sudo apt-get install python3-rosdep python3-wstool ros-noetic-ros libgoogle-glog-dev
$ rosdep install --from-paths src -i
$ rosdep update
$ catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release -DCATKIN_ENABLE_TESTING=False
$ catkin build
from crazys.
Hi, I am facing the same error. I ran all the commands you provided here.
I have attached the output given by the catkin build command.
errors.txt
from crazys.
Hi there! Have you tried following the commands mentioned above?
from crazys.
Yes I tried following the commands mentioned above. The build error thrown by catkin build command is store inside error.txt file above.
from crazys.
@RugvedKatole , read #40 and let me know if this solves the issue.
from crazys.
@gsilano i need to know how to use plugins define like librotors_gazebo_lidar_plugins.so define in rotors_gazebo_plugins. I am using lidar in component snippet where different plugins with cpp code are given. When i used plugins given by gazebo like libgazebo_ros_laser.so it give me scan values and it does work as expected but I want to used some customized plugins in my codes.
libLiftDragPlugin.so libroll_pitch_yawrate_thrust_controller.so librotors_gazebo_bag_plugin.so librotors_gazebo_controller_interface.so librotors_gazebo_fw_dynamics_plugin.so librotors_gazebo_gps_plugin.so librotors_gazebo_imu_plugin.so librotors_gazebo_lidar_plugin.so librotors_gazebo_magnetometer_plugin.so librotors_gazebo_motor_model.so librotors_gazebo_multirotor_base_plugin.so librotors_gazebo_noisydepth_plugin.so librotors_gazebo_odometry_plugin.so librotors_gazebo_pressure_plugin.so librotors_gazebo_ros_interface_plugin.so librotors_gazebo_velodyne_plugin.so librotors_gazebo_wind_plugin.so pkgconfig python3 rotors_control rotors_evaluation rotors_gazebo rotors_joy_interface
in component_snippet all these plugins are being referred but librotor_gazebo_lidar_plugin is not used but given in rotors_gazebo_plugins. Hope this make sense
from crazys.
Hi! I think you should use the issue tracker of the RotorS package for this type of question.
from crazys.
Hi all, I had almost the same problem. I've been trying to build CrazyS on Windows Subsystem for Linux (WSL), using
Ubuntu 20.04
, ROS Noetic, andGazebo 11
. Every time I tried to buildrotors_gazebo
androtors_simulator
an error was raised. As a result, when I launched the hovering example, the drone didn't fly. After testing many possible solutions, I discovered it is because the swap is 1GB on my WSL (you can find it byswapon --show
), which was insufficient. I simply increased it to 4GB (see here) and the problem was solved. Hope this helps.
hey, the video says that is private, i had this problem with the catkin build
from crazys.
Related Issues (20)
- opticalFlow.pb.h: HOT 2
- Question regarding publishing motor speed to Gazebo & some theoretical parameters HOT 6
- Unrecognized message type mav_msgs/Actuators. HOT 7
- Noetic Controller Package HOT 4
- Is it possible to control the acceleration and rpm of individual rotors, there Thrust ? HOT 4
- Possibility to do trajectory tracking instead of timed waypoints ? HOT 1
- Extending the model with Gazebo Plugins ? HOT 1
- Extending the model HOT 1
- overactuated hexacopter to quardcopter HOT 7
- Adding a custom MAV HOT 6
- Catkin Build Issues HOT 5
- Quadcopter not flying HOT 2
- Leap Motion Integration HOT 4
- using the packages with ros noetic HOT 5
- Trouble with crazyflie2 hovering example. [Ubuntu 18.04, ROS Melodic, Gazebo 9] HOT 22
- name 'namespace' is not defined HOT 2
- Missing blades after using my own controller HOT 13
- Is it possible to use CrazyS at the same time with the real crazyflie? HOT 2
- Is it possible to forcefully stop the drone/s when it reached a target location? HOT 4
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 crazys.