-
Notifications
You must be signed in to change notification settings - Fork 363
noetic compatible #445
base: master
Are you sure you want to change the base?
noetic compatible #445
Conversation
Testing with this PR, seeing that there are issues with installing the dependencies, specifically when running |
Add missing return statements
@my-name-is-D Thanks for the fix. |
I hope this get merged soon |
sorry about the delay. I can't do the changes for still a while. In the meantime, you meant to add : though: "along with porting the scripts that use this dependency to python3" |
@my-name-is-D You can do like @ngxingyu did in the PR my-name-is-D#1 to your repo. Another change I think is necessary is that in files: uuv_control/uuv_control_utils/scripts/trajectory_marker_publisher.py and uuv_control/uuv_trajectory_control/scripts/rov_mb_fl_controller.py you changed the shebangs to python 3. The recommendation is to do like this: https://wiki.ros.org/UsingPython3/SourceCodeChanges#Changing_shebangs Also, you should not remove uuv_simulator package. I think the result should be a combination of the 3 commits: |
I've cloned the repo and added the changes from Rezender's commits, however am getting a failure to make due to uuv_gazebo_plugins being unable to find Protobuf. Have tried removing and re-installing libprotobuf-dev and protobuf-compiler, installing protobuf from Google's source github repositories, without success. Tracing the callback leads to find_package(Protobuf REQUIRED) as the cause, with the specific error message being: "Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)" I can't distinguish whether this is simply my not having installed protobuf correctly somehow on my machine (probably this...), or Noetic and Protobuf don't like each other, or just something not updated in uuvsim. I don't recall having any protobuf related issues with melodic... Edit: Worked around this issue by doing a fresh re-install of Ubuntu 20 and protobuf from source with Google's instructions in their github repository. However Gazebo 11 still throwing a lot of errors upon catkin_make about incompatible protocol buffer headers. |
Edit to my previous comment is not being saved for some reason, so copy pasting what I had typed here as a new one.. Uninstalled the source installation of protobuf, did a reinstall of noetic (and along with it libprotobuf-dev, protobuf-compiler, etc). That fixed the protobuf issues. Had a typo (my fault) in the changes I made to BuoyantObject.hh from the commits in this PR that caused "template placeholder type must be followed by a simple declarator-id" errors. After that, compilation got terminated with a few objects with |
hi, when will be merged? |
Changed python dependencies to python3
Those are the changes required to make uuv_simulator runs with noetic.
I am not to credit for most of those changes, you can find them if you search well somewhere in the Issues list. However it does not make it easy for users so that's why it can at least be found in the requested pull.
Those change might makes this version not compatible with older ros distro. That has to be verified.
Also, there may be still some sensors that are not adapted, i remember having realised some more changes afterward, but I'm not sure if it was to make it work with our drone or because of noetic incompatibilities.
Don't hesitate to open an issue or to improve this pull if it happens.