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

Au core/migration #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Au core/migration #1

wants to merge 7 commits into from

Conversation

RamboTheGreat
Copy link

au_core ros2 version

@RamboTheGreat
Copy link
Author

Almost all the changes were just changing function names to their ros2 equivalent ie using "rclcpp" instead of "ros" for the library name. node handlers are different in ros2 but it's pretty self explanatory. A good example is what I changed in camera_info.cpp and camera_info.hpp. ros2 requires cpp headers to be explicitly defined so i changed names from x.h to x.hpp. Message naming convention is also different in that underscores are not allowed so all messages and values within were changed to camel case which is the ros2 standard. Some functions are different such as spinOnce. An example of the new method can be found in camera_info.cpp in waitForMessage(). Changes were made to CMakeLists and package.xml as explained in https://index.ros.org/doc/ros2/Contributing/Migration-Guide/

@@ -0,0 +1,50 @@
#include <vision_util.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this is alone in this folder?

@NinjaPerson24119
Copy link
Contributor

Can we add a proper README.md for how to install ROS2 and execute the build? Or ideally a setup.sh + config.sh?

I'll add some notes here as I go, for what I have to do to get the build working.
https://answers.ros.org/question/339552/failed-to-build-with-colcon-cannot-import-name-has_ros_schema_reference/

)


#rosidl_generate_interfaces(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't have dead code like this. If it's not necessary, it should be removed.

<exec_depend>rosidl_default_runtime</exec_depend>
<!-- <member_of_group>rosidl_interface_packages</member_of_group> -->

<!-- <build_depend>roscpp</build_depend>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More dead code here to be removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants