lerema / camgazebo-genom3

Genom Component for Gazebo's camera plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a pre-release version of the original work of GENOM-VISION project. The main author is Martin Jacquot from LAAS CNRS. The original work is available at [redmine.laas.fr](https://redmine.laas.fr/projects/genom-vision/repository/vision-idl).

camgazebo component

martin.jacquet@laas.fr 1.0 :toc: left

Ports

frame (multiple out)

Data structure
  • struct ::or::sensor::frame frame

    • struct ::or::time::ts ts

      • long sec

      • long nsec

    • boolean compressed

    • unsigned short height

    • unsigned short width

    • unsigned short bpp

    • sequence< octet > pixels


intrinsics (out)

Data structure
  • struct ::or::sensor::intrinsics intrinsics

    • struct ::or::sensor::calibration calib

      • float fx

      • float fy

      • float cx

      • float cy

      • float gamma

    • struct ::or::sensor::distortion disto

      • float k1

      • float k2

      • float k3

      • float p1

      • float p2


extrinsics (out)

Data structure
  • struct ::or::sensor::extrinsics extrinsics

    • struct ::or::sensor::translation trans

      • float tx

      • float ty

      • float tz

    • struct ::or::sensor::rotation rot

      • float roll

      • float pitch

      • float yaw


Services

connect (activity)

Inputs
  • string<256> topic name of gazebo world

Context

disconnect (activity)

Context
  • In task main (frequency 1000.0 Hz)


get_K (activity)

Outputs
  • sequence< float, 5 > K

Context

get_D (activity)

Outputs
  • sequence< float, 5 > D

Context

get_extrinsics (activity)

Outputs
  • sequence< float, 6 > ext

Context

set_extrinsics (activity)

Inputs
  • sequence< float, 6 > ext_values

Context

set_hfov (activity)

Inputs
  • float hfov_val (default "1.047") Camera horizon FOV (in radians)

Context

set_format (activity)

Inputs
  • unsigned short w_val (default "320") Camera pixel width

  • unsigned short h_val (default "240") Camera pixel height

  • unsigned short c_val (default "3") Number of image channels (1,3)

Throws
  • exception ::camgazebo::e_io

    • string<128> what

Context

set_disto (activity)

Inputs
  • sequence< float, 5 > dist_values

Context

set_compression (attribute)

Inputs
  • short compression_rate (default "-1") Image compression (0-100) ; -1 to disable compression.

Throws
  • exception ::camgazebo::e_io

    • string<128> what


Tasks

main

Context

About

Genom Component for Gazebo's camera plugin


Languages

Language:C++ 59.9%Language:M4 27.7%Language:Makefile 12.3%Language:Shell 0.1%