-
Notifications
You must be signed in to change notification settings - Fork 121
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
Trouble with launching driver #188
Comments
Are you using a Virtual Box to run the |
I am, I use a Mac and though I've seen tutorials successfully using a VM to run autonomy, I haven't seen them do it for ubuntu 18.04 and melodic |
I am getting a similar error:
I am currently running |
I think this is a duplicate of #170 For fixing your LD_LIBRARY_PATH, you have to check the path of libarcommands.so
In my case, this returns
And then set LD_LIBRARY_PATH accordindly : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/melodic/lib/parrot_arsdk/ temporarily for testing and then permanently in your bashrc , or zshrc , or etc.. |
I know there is a similar post about this made a while ago, but considering there isn't a really detailed answer on how to solve this, I thought I might post this to try and get a more in depth solution.
I tried using the instructions here https://bebop-autonomy.readthedocs.io/en/latest/running.html and the preceding instructions. But I keep getting the following error:
will@will-VirtualBox:~/bebop_ws/devel$ roslaunch bebop_driver bebop_node.launch... logging to /home/will/.ros/log/a5e7ba98-47b0-11e9-a5e9-080027ad78cc/roslaunch-will-VirtualBox-17640.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://will-VirtualBox:45899/
SUMMARY
PARAMETERS
NODES
/bebop/
bebop_driver (bebop_driver/bebop_driver_node)
robot_state_publisher (robot_state_publisher/robot_state_publisher)
auto-starting new master
process[master]: started with pid [17653]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to a5e7ba98-47b0-11e9-a5e9-080027ad78cc
process[rosout-1]: started with pid [17664]
started core service [/rosout]
process[bebop/bebop_driver-2]: started with pid [17671]
process[bebop/robot_state_publisher-3]: started with pid [17672]
[ INFO] [1552715964.748867044]: Initializing nodelet with 1 worker threads.
[ERROR] [1552715964.796146064]: Failed to load nodelet [/bebop/bebop_driver] of type [bebop_driver/BebopDriverNodelet] even after refreshing the cache: Failed to load library /home/will/bebop_ws/devel/lib//libbebop_driver_nodelet.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libarcommands.so: cannot open shared object file: No such file or directory)
[ERROR] [1552715964.796315733]: The error before refreshing the cache was: Failed to load library /home/will/bebop_ws/devel/lib//libbebop_driver_nodelet.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libarcommands.so: cannot open shared object file: No such file or directory)
[FATAL] [1552715964.796394067]: bebop_driver nodelet failed to load.
[bebop/bebop_driver-2] process has died [pid 17671, exit code 1, cmd /home/will/bebop_ws/devel/lib/bebop_driver/bebop_driver_node __name:=bebop_driver __log:=/home/will/.ros/log/a5e7ba98-47b0-11e9-a5e9-080027ad78cc/bebop-bebop_driver-2.log].
log file: /home/will/.ros/log/a5e7ba98-47b0-11e9-a5e9-080027ad78cc/bebop-bebop_driver-2*.log
I tried changing the LD_LIBRARY_PATH but have had no success. If anyone could help, it would be much appreciated thank you!
The text was updated successfully, but these errors were encountered: