Git Product home page Git Product logo

Comments (12)

Faivex avatar Faivex commented on September 27, 2024 2

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.

welcome avatar welcome commented on September 27, 2024

Thanks for opening your first issue here! Make sure that no other issues on the same topic have already been opened!

from crazys.

gsilano avatar gsilano commented on September 27, 2024

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.

NoemiF99 avatar NoemiF99 commented on September 27, 2024

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.

gsilano avatar gsilano commented on September 27, 2024

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.

RugvedKatole avatar RugvedKatole commented on September 27, 2024

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.

gsilano avatar gsilano commented on September 27, 2024

Hi there! Have you tried following the commands mentioned above?

from crazys.

RugvedKatole avatar RugvedKatole commented on September 27, 2024

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.

gsilano avatar gsilano commented on September 27, 2024

@RugvedKatole , read #40 and let me know if this solves the issue.

from crazys.

kashifzr avatar kashifzr commented on September 27, 2024

@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.

gsilano avatar gsilano commented on September 27, 2024

Hi! I think you should use the issue tracker of the RotorS package for this type of question.

from crazys.

IngCristianVC avatar IngCristianVC commented on September 27, 2024

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.

hey, the video says that is private, i had this problem with the catkin build

from crazys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.