Roomba Bump Wall-follow Roomba Track Blob navigation bar

Table of Contents

Roomba Create Trajectory

Calculates the robot's current (x, y) coordinate and orientation with respect to its initial pose.

Library

QUARC Targets/Devices/Third-Party/iRobot/Roomba/Applications

Description

Roomba Create Trajectory

The Roomba Create Trajectory block uses distance, and angle sensory data for continuous localization of the robot. The robot's coordinate is updated using the traveled distance and its current angular orientation with respect to its initial position. The updated coordinate may be inaccurate in case of wheel slip.

Input Ports

distance_fb

Distance sensory data returned by Roomba. Use Roomba Query List block to get the distance feedback.

angle_fb

Angle sensory data returned by Roomba. Use Roomba Query List block to get the angle feedback.

Output Ports

robot_x

Updated robot's x coordinate in mm. Use XY Figure to plot robot's trajectory.

robot_y

Updated robot's y coordinate in mm. Use XY Figure to plot robot's trajectory.

robot_theta

Updated robot's orientation coordinate in degrees.

Parameters and Dialog Box

Roomba Create Trajectory

Robot's Position

The initial postion of the robot. It includes (x, y) coordinate (in mm) and orientation (in degrees) of the robot.

Trajectory filename

This file stores the updated robot's positions.

Sample time

The sample time of the block. A sample time of 0 indicates that the block will be treated as a continuous time block. A positive sample time indicates that the block is a discrete time block with the given sample time. A sample time of -1 indicates that the block inherits its sample time.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

See Also

 

navigation bar