Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rotors_gazebo_plugins:make error #105

Open
NoemiF99 opened this issue Sep 22, 2023 · 12 comments
Open

rotors_gazebo_plugins:make error #105

NoemiF99 opened this issue Sep 22, 2023 · 12 comments
Assignees
Labels
type: question Further information is requested

Comments

@NoemiF99
Copy link

Immagine 2023-09-22 183633
Immagine 2023-09-22 183710
Immagine 2023-09-22 183752
How can I solve this problem?

@welcome
Copy link

welcome bot commented Sep 22, 2023

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

@gsilano gsilano self-assigned this Sep 24, 2023
@gsilano gsilano added the type: question Further information is requested label Sep 24, 2023
@gsilano
Copy link
Owner

gsilano commented Sep 24, 2023

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.

@NoemiF99
Copy link
Author

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

@gsilano
Copy link
Owner

gsilano commented Sep 25, 2023

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

@RugvedKatole
Copy link

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

@gsilano
Copy link
Owner

gsilano commented Apr 5, 2024

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

@RugvedKatole
Copy link

Yes I tried following the commands mentioned above. The build error thrown by catkin build command is store inside error.txt file above.

@gsilano
Copy link
Owner

gsilano commented Apr 14, 2024

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

@Faivex
Copy link

Faivex commented Jun 24, 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.

@kashifzr
Copy link

@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

@gsilano
Copy link
Owner

gsilano commented Jul 31, 2024

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

@IngCristianVC
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants