Skip to content

Conversation

BCSol
Copy link

@BCSol BCSol commented Aug 19, 2025

Proposal for structured parameters derive macro (#496)

Changes:

  • added trait StructuredParameters
  • added derive macro in new rclrs_proc_macros
  • added poc some tests
  • install test_msgs and example_messages with apt, without the cargo build without colon would fail to link rosidl message (I'd be happy about some help there)

TODO:

  • proper documentation of traits
  • default values should be made possible
  • more tests
  • better error messages: should we use anyhow here?
  • make derive feature optional
  • add generic declare macro to NodeState/Node

@mxgrey before I continue here, I'd be happy about some feedback, whether this is what you had in mind or how we could improve upon this POC.

@BCSol BCSol marked this pull request as draft August 19, 2025 23:08
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