middlewares.ros package

Submodules

middlewares.ros.actions module

middlewares.ros.depth_camera module

This script tests the Depth camera with ROS in MORSE.

class DepthCameraRosTest(methodName='runTest')[source]

Bases: morse.testing.ros.RosTestCase

setUpEnv()[source]

Defines the test scenario

test_depth_camera()[source]
pub_vw(topic, v, w)[source]

middlewares.ros.sick module

This script tests the Sick laser scanner with ROS in MORSE.

class SickLaserRosTest(methodName='runTest')[source]

Bases: morse.testing.ros.RosTestCase

setUpEnv()[source]

Defines the test scenario

test_sick_laser()[source]
pub_vw(topic, v, w)[source]

middlewares.ros.tf_static_test module

This script tests that MORSE can generate valid tf frames.

class StaticTfTest(methodName='runTest')[source]

Bases: morse.testing.ros.RosTestCase

setUpEnv()[source]

This method must be overloaded by subclasses to define a simulation environment.

The code must follow the Builder API convention (without the import of the morsebuilder module which is automatically added).

test_static_tf()[source]
test_static_tf2()[source]

middlewares.ros.tf_test module

This script tests that MORSE can generate valid tf frames.

class TfTest(methodName='runTest')[source]

Bases: morse.testing.ros.RosTestCase

setUpEnv()[source]

This method must be overloaded by subclasses to define a simulation environment.

The code must follow the Builder API convention (without the import of the morsebuilder module which is automatically added).

test_tf()[source]

middlewares.ros.topics module

This script tests some of the base functionalities of MORSE.

class DataStreamTest(methodName='runTest')[source]

Bases: morse.testing.ros.RosTestCase

pose_callback(data)[source]
setUpEnv()[source]

Defines the test scenario, using the Builder API.

test_vw_controller()[source]
send_speed(s, v, w, t)[source]

middlewares.ros.video_camera module

This script tests the Video camera with ROS in MORSE.

class VideoCameraRosTest(methodName='runTest')[source]

Bases: morse.testing.ros.RosTestCase

setUpEnv()[source]

Defines the test scenario

test_video_camera()[source]
pub_vw(topic, v, w)[source]

Module contents