Lanelet2 ROS Message Design

If you do not know how the data will be used, you should not make this assumption.

This places no requirement on the message data itself being in the Lanelets structure.

  • Define those use cases.
  • Be very careful about allowing custom data in messages. You need to have a strategy in place for ensuring correct behaviour in the face of incorrect data.
  • Although I agree with this, you need to define why it is necessary so you know exactly what a “subset of a map” means.

These are not detailed. I recommend you follow a use case template. It will help you fill out the necessary detail. A good example is the template designed by Alistair Cockburn many years ago. Martin Fowler has also produced one, and I’m sure there are thousands of other templates.

Keep in mind that this is just the start. From your use cases, you will need to derive requirements.