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

Gzserver: symbol lookup error After Launching bebop_without_controller.launch #39

Closed
guiaugustoga opened this issue Dec 21, 2020 · 12 comments
Assignees
Labels
type: question Further information is requested

Comments

@guiaugustoga
Copy link

Hi,

I'm using ubuntu 18.04 with ros melodic. I got the following output when i try to launch bebop_without_controller.launch :

SUMMARY

PARAMETERS

  • /gazebo/enable_ros_network: True
  • /robot_description: <?xml version="1....
  • /rosdistro: melodic
  • /rosversion: 1.14.10
  • /tf_prefix: bebop
  • /use_sim_time: True

NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
spawn_robot (gazebo_ros/spawn_model)

ROS_MASTER_URI=http://localhost:11311

process[gazebo-1]: started with pid [4574]
process[gazebo_gui-2]: started with pid [4579]
process[spawn_robot-3]: started with pid [4584]
[ INFO] [1608589547.665981255]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1608589547.669707232]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1608589547.677100877]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1608589547.680358247]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[INFO] [1608589548.158183, 0.000000]: Loading model XML from ros parameter robot_description
[INFO] [1608589548.166677, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[ INFO] [1608589548.652894152]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1608589548.681106497]: Physics dynamic reconfigure ready.
[INFO] [1608589548.771771, 0.072000]: Calling service /gazebo/spawn_urdf_model
[INFO] [1608589548.959109, 0.123000]: Spawn status: SpawnModel: Successfully spawned entity
[ INFO] [1608589549.177460981, 0.123000000]: Camera Plugin: Using the 'robotNamespace' param: '/'
[ INFO] [1608589549.180927510, 0.123000000]: Camera Plugin (ns = /) <tf_prefix_>, set to "bebop"
[spawn_robot-3] process has finished cleanly
log file: /home/gapc/.ros/log/8b5166b6-43da-11eb-a0d6-000516598047/spawn_robot-3*.log
gzserver: symbol lookup error: /home/gapc/catkin_bebop/devel/lib/librotors_gazebo_multirotor_base_plugin.so: undefined symbol: _ZN14gz_sensor_msgs9ActuatorsC1Ev
[gazebo-1] process has died [pid 4574, exit code 127, cmd /home/gapc/catkin_bebop/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver -e ode /home/gapc/catkin_bebop/src/BebopS/worlds/basic.world __name:=gazebo __log:=/home/gapc/.ros/log/8b5166b6-43da-11eb-a0d6-000516598047/gazebo-1.log].
log file: /home/gapc/.ros/log/8b5166b6-43da-11eb-a0d6-000516598047/gazebo-1*.log

I'm not sure what is causing this error. Thanks for your help !

@welcome
Copy link

welcome bot commented Dec 21, 2020

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 Dec 22, 2020
@gsilano gsilano added the type: question Further information is requested label Dec 22, 2020
@gsilano
Copy link
Owner

gsilano commented Dec 22, 2020

This is similar to #34, #32, #30, #25, #21, #35, #37, and #27. Please, try to follow the described suggestions (see the content of the issue) and give me back if the problem still persists.

@guiaugustoga
Copy link
Author

guiaugustoga commented Dec 22, 2020

I deleted my catkin and made all steps again with no sucess. Do I need to install ros-melodic-rotors-gazebo and ros-melodic-rotors-gazebo-plugins like you stated on CrazyS installation ?

@gsilano
Copy link
Owner

gsilano commented Dec 22, 2020

Are you able to run the standard setup? If so, you do not need to install other packages.

@guiaugustoga
Copy link
Author

What do you mean by standard setup ? I just followed the steps on readme.txt and couldn't launch bebop_without_controller.launch.

@gsilano
Copy link
Owner

gsilano commented Dec 22, 2020

Okay, this means that something went wrong with it. Please, follow the instructions once more.

@guiaugustoga
Copy link
Author

I tried again and got the same error.

@guiaugustoga
Copy link
Author

Captura de tela de 2020-12-22 20-39-39

Sometimes the gazebo opens even with the error message, but it is not running. The topics are also incomplete.

@gsilano
Copy link
Owner

gsilano commented Dec 22, 2020

This seems to be an old error. Please, see the issues mentioned above.

@guiaugustoga987
Copy link

I tried everything and it didn't work...

@gsilano
Copy link
Owner

gsilano commented Dec 23, 2020

Let use a systematic approach to solve the problem. Describe me every single step precisely.

@guiaugustoga987
Copy link

I solved my problem. I had to use catkin_make instead of catkin build. For this, I had to make some adjustments on package.xml and cmakelists.txt from rotors_simulator and then after building I was able to launch bebop_controller.launch with no errors.

Thanks for your attention !

@gsilano gsilano closed this as completed Dec 23, 2020
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

3 participants