No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache License, Version 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/nasa/astrobee.git
VCS Type git
VCS Version master
Last Updated 2024-03-02
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The image sampler node downsamples images from a camera in both resolution and rate.

Additional Links

No additional links.

Maintainers

  • Astrobee Flight Software

Authors

  • Astrobee Flight Software

\page imagesampler Image Sampler

Image Sampler Node

The image sampler subscribes to an image topic, then republishes the images at a different rate and resolution.

Two steps are required to start using the image sampler:

Configure the image sampler for the desired camera

rosservice call /mgt/img_sampler/{nav_cam,dock_cam}/configure \
                  <mode> <framerate> <width> <height> <bitrate>

  • mode : parameters apply to RECORDING=1, or STREAMING=2 or BOTH=3
  • framerate : rate in Hz to publis
  • with, height : dimension in pixels of the image to publish
  • bitrate : only applies to SciCam, defines the image quality

Example to configure the nav_cam to publish half size images every 2 seconds (both for streaming and recording):

rosservice call /mgt/img_sampler/nav_cam/configure 0 0.5 640 480 0

See Configure Camera Service.

Enable the image sampler for the desired camera

rosservice call /mgt/img_sampler/{nav_cam.dock_cam}/enable <mode> <flag>

  • mode : parameters apply to RECORDING=1, or STREAMING=2 or BOTH=3
  • flag : true to enable and false to disable the service

Example to turn on streaming only of the nav_cam (using previous camera configuration):

rosservice call /mgt/img_sampler/nav_cam/enable 2 true

See EnableCamera Service.

Then, the node will publish an image at the desired resolution and rate, with the topic name <node name>/image.

The image to read is specified through the command line argument --input_topic.

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

  • launch/image_sampler.launch
    • Copyright (c) 2017, United States Government, as represented by the
      • name [default: image_sampler]
      • manager [default: ]

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged image_sampler at Robotics Stack Exchange

No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache License, Version 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/nasa/astrobee.git
VCS Type git
VCS Version master
Last Updated 2024-03-02
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The image sampler node downsamples images from a camera in both resolution and rate.

Additional Links

No additional links.

Maintainers

  • Astrobee Flight Software

Authors

  • Astrobee Flight Software

\page imagesampler Image Sampler

Image Sampler Node

The image sampler subscribes to an image topic, then republishes the images at a different rate and resolution.

Two steps are required to start using the image sampler:

Configure the image sampler for the desired camera

rosservice call /mgt/img_sampler/{nav_cam,dock_cam}/configure \
                  <mode> <framerate> <width> <height> <bitrate>

  • mode : parameters apply to RECORDING=1, or STREAMING=2 or BOTH=3
  • framerate : rate in Hz to publis
  • with, height : dimension in pixels of the image to publish
  • bitrate : only applies to SciCam, defines the image quality

Example to configure the nav_cam to publish half size images every 2 seconds (both for streaming and recording):

rosservice call /mgt/img_sampler/nav_cam/configure 0 0.5 640 480 0

See Configure Camera Service.

Enable the image sampler for the desired camera

rosservice call /mgt/img_sampler/{nav_cam.dock_cam}/enable <mode> <flag>

  • mode : parameters apply to RECORDING=1, or STREAMING=2 or BOTH=3
  • flag : true to enable and false to disable the service

Example to turn on streaming only of the nav_cam (using previous camera configuration):

rosservice call /mgt/img_sampler/nav_cam/enable 2 true

See EnableCamera Service.

Then, the node will publish an image at the desired resolution and rate, with the topic name <node name>/image.

The image to read is specified through the command line argument --input_topic.

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

  • launch/image_sampler.launch
    • Copyright (c) 2017, United States Government, as represented by the
      • name [default: image_sampler]
      • manager [default: ]

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged image_sampler at Robotics Stack Exchange