-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rosidl cli generate proto test #25
base: streamline-file-generation
Are you sure you want to change the base?
Rosidl cli generate proto test #25
Conversation
Signed-off-by: Gonzalo de Pedro <[email protected]>
Signed-off-by: Gonzalo de Pedro <[email protected]>
Get paths from get_package_share_directory
|
Check that it is creating typeadapters |
Signed-off-by: Gonzalo de Pedro <[email protected]>
Both comments are fixed now |
|
||
subprocess.run([ | ||
'rosidl', 'generate', '-ts', 'protobuf_c', '-o', output_path, 'std_msgs', './msg/String.msg' | ||
], cwd='/home/aeten/ros2_rolling/install/std_msgs/share/std_msgs', check=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard coded path still here
@@ -115,6 +115,8 @@ if(BUILD_TESTING) | |||
target_link_libraries(test_wstring_conversion | |||
${PROJECT_NAME}) | |||
endif() | |||
find_package(ament_cmake_pytest REQUIRED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed in package.xml too
Signed-off-by: Gonzalo de Pedro <[email protected]>
Current failure:
This looks like it's trying to compile the library before it's generated. We need a dependency in CMake to prevent this. |
This PR must be compiled using this repos file. |
Adds tests for rosidl cli generate typesupports for protobuf