 
    
QBot 2 Encoder Counts to Distance
Converts encoder counts to metre for the wheels on the Quanser QBot 2/2e mobile robot.
Library
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
qc_open_library('quarc_library/Devices/Quanser/Mobile Robots/QBot 2')Description
         
    
The QBot 2 Encoder Counts to Distance block converts encoder counts from the wheels of the Quanser QBot 2/2e robot to distance travelled in metre.
Input Ports
counts
The encoder counts of wheels.
Output Ports
x
The converted distance travelled by the wheels in m.
Data Type Support
            This block supports inputs and outputs of type double.
        
Parameters and Dialog Box
         
    
The QBot 2 Encoder Counts to Distance block has no parameters.
Targets
| Target Name | Compatible* | Model Referencing | Comments | 
|---|---|---|---|
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| Yes | Yes | ||
| 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 | 
         
    
Copyright ©2025 Quanser Inc. This page was generated 2025-06-17. "
                Submit feedback to Quanser about this page.
Link to this page.