simulation.src.simulation_brain_link.src.sensor_camera.node module

Prepare Gazebo’s camera image for kitcar-ros.

Summary

Classes:

SensorCameraNode

ROS node which receives the camera image, crops it and can perform preprocessing.

Reference

class SensorCameraNode[source]

Bases: simulation.utils.ros_base.node_base.NodeBase

ROS node which receives the camera image, crops it and can perform preprocessing.

subscriber

Subscribes to camera image from gazebo

Type

rospy.subscriber

publisher

Publishes camera image.

Type

rospy.publisher

start()[source]

Start node.

stop()[source]

Turn off node.

receive_image(img_msg: sensor_msgs.msg._Image.Image)[source]

Process and republish new camera image.

The image is cropped to simulate the internal preprocessing of our real camera.

Parameters

img_msg – Published image message.