Skip to content

Add camera frustum marker #181

Description

@JStech

I propose adding a marker type that draws a camera frustum given the optical frame, camera intrinsics (sensor_msgs::CameraInfo message), and scale. The marker would look like this:
frustum

And the function signature would be something like,

bool publishCameraFrustum(const Eigen::Isometry3d& pose, const sensor_msgs::CameraInfo& camera_intrinsics,
                          colors color, scales scale, const std::string& ns, std::size_t id)

There's already a function to do this in MoveIt Calibration, and I'd basically copy it here (and then use the version here in MoveIt Calibration). I recently ran into another situation where I'd like to draw a frustum, and so I thought it'd be a good addition to this package. Before writing it, though, I thought I'd double-check that people would want that included, since it would add the dependency on sensor_msgs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions