Add Polygon64?

Open
#346 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cmake, cpp
Domain
api

Research direction

The request is a new double-precision message type next to the existing Polygon message in geometry_msgs, which is defined as a .msg file rather than C++ code. Start by reading the existing Polygon and Point32 definitions and how the packages are built with CMake. Done means a new Polygon64 message type that builds and passes the package tests, with the naming question settled by the maintainers.

Written by the indexing model from the issue text.

Description

enhancement
Description

Add a Polygon variant based on double-based point.

Motivation

The current Polygon class uses float coordinates. This can already bring quite serious problems in global frames like UTM or ECEF.

Design / Implementation Considerations

I don't like the name Polygon64, but I don't see a better solution...

Additional Information

No response

Dominant language
C++
Stars
403
Forks
165
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ros2/common_interfaces

All issues in ros2/common_interfaces

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.