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

Hardcoded typesupport for Fibonacci action #47

Merged
merged 16 commits into from
Nov 9, 2018
Merged

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Oct 30, 2018

Split from #44. This PR has hardcoded type support classes for a Fibonacci action.

requires #44

Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM! Let's get this going.

}
#endif

#define TEST_MSGS__ACTION__FIBONACCI_H_
Copy link
Contributor

Choose a reason for hiding this comment

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

@sloretz #endif // TEST_MSGS__ACTION__FIBONACCI_H_ ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in f99efcf

@hidmic
Copy link
Contributor

hidmic commented Nov 2, 2018

Also, it looks like this branch could use a rebase.

Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

Other than the one comment from @hidmic, this looks good to go 👍

@sloretz
Copy link
Contributor Author

sloretz commented Nov 9, 2018

Checking if Windows dll linkage issue is fixed by a4dfb38

Build Status

@sloretz
Copy link
Contributor Author

sloretz commented Nov 9, 2018

Checking if WIndows dll linkage issue is fixed by 6d6da58

Build Status

@sloretz
Copy link
Contributor Author

sloretz commented Nov 9, 2018

Rerunning full CI now that windows linker issue is fixed

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@sloretz sloretz added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Nov 9, 2018
@hidmic
Copy link
Contributor

hidmic commented Nov 9, 2018

@sloretz looks like this is ready!!

@sloretz
Copy link
Contributor Author

sloretz commented Nov 9, 2018

@hidmic I think it's ready. All that is left is for ros2/rosidl_python#17 and ros2/rosidl#310 to pass code review and possibly another round of CI after fixing issues found during their reviews.

@sloretz sloretz merged commit 6cff4c3 into master Nov 9, 2018
@sloretz sloretz removed the in review Waiting for review (Kanban column) label Nov 9, 2018
@sloretz sloretz deleted the sloretz/fibonacci_action branch November 9, 2018 22:07
@mjcarroll
Copy link
Member

@sloretz This appears to break test_msgs on:

10:12:19 Undefined symbols for architecture x86_64:
10:12:19   "_rosidl_typesupport_opensplice_c__get_message_type_support_handle__test_msgs__srv__Fibonacci_Goal_Request", referenced from:
10:12:19       _send_request__action__Fibonacci_Goal in fibonacci__goal__type_support_c.cpp.o
10:12:19       _take_request__action__Fibonacci_Goal in fibonacci__goal__type_support_c.cpp.o
10:12:19   "_rosidl_typesupport_opensplice_c__get_message_type_support_handle__test_msgs__srv__Fibonacci_Goal_Response", referenced from:
10:12:19       _send_response__action__Fibonacci_Goal in fibonacci__goal__type_support_c.cpp.o
10:12:19       _take_response__action__Fibonacci_Goal in fibonacci__goal__type_support_c.cpp.o
10:12:19   "_rosidl_typesupport_opensplice_c__get_message_type_support_handle__test_msgs__srv__Fibonacci_Result_Request", referenced from:
10:12:19       _send_request__action__Fibonacci_Result in fibonacci__result__type_support_c.cpp.o
10:12:19       _take_request__action__Fibonacci_Result in fibonacci__result__type_support_c.cpp.o
10:12:19   "_rosidl_typesupport_opensplice_c__get_message_type_support_handle__test_msgs__srv__Fibonacci_Result_Response", referenced from:
10:12:19       _send_response__action__Fibonacci_Result in fibonacci__result__type_support_c.cpp.o
10:12:19       _take_response__action__Fibonacci_Result in fibonacci__result__type_support_c.cpp.o
10:12:19 ld: symbol(s) not found for architecture x86_64

dirk-thomas pushed a commit to ros2/test_interface_files that referenced this pull request Jan 18, 2019
* msg and srv in actions folder

* Add uniquely named messages and services

* Add hand made action typesupport

* respose -> result request

* respose -> response

* Use goal info in more places

* Fix feedback symbol

* Generate from .action file

* Hardcoded typesupport works with generated msg and srv

* C typesupport returns rcl_action_type_support_t

* Function to get typsupport struct from C++ typesupport

* rosidl_typesupport_cpp namespace

* Fix include guard

* Fix linter test failures

* Fix dll linkage on Windows

* Fix windows linking issue by having separate visibility macro
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.

4 participants