Skip to content

Errors partially/incorrectly displayed in matlab R2024b #251

@AntonioViscomi

Description

@AntonioViscomi
  • I already updated to the latest version I can use
  • I already checked similar issues using the search box
  • I already checked the website for known troubleshooting
  • I already cleaned my environment (by removing the wb-toolbox install folder and installing it again)
  • I already excluded the possibility that system configuration files (e.g. yarp related) might be responsible
  • I am sure the environment variables are correct
  • I tried to reproduce the error in simulation (if it affects the real robot)

Description

It is not possible to determine the exact source of the error, as the error messages are only partially or incorrectly displayed.

Platform

The bug occurs while running tests on the Camozzi setup (config files).

Reproducibility

Screenshots

Simulink terminal output:
Image

Simulink schematic:

Main schematic GetPositionMeasurement YARP_vs_Simulink_execution_step
Image Image Image

Additional information

  • OS: Windows 11 (source installation via pixi)
  • Version / Commit: 7804a8e
  • Matlab Version: R2024b

Additional context

I have checked the source code (here), but there are multiple errors that could be associated with the line containing "failed t".

The WBtoolbox is configured via matlab:

%cleanup
close all
clear, clc
%% Robot configuration for WBToolbox
% TO DO: Execute at simulink startup
WBTConfigRobot           = WBToolbox.Configuration;
WBTConfigRobot.RobotName = 'ankleSetup';
WBTConfigRobot.UrdfFile  = 'model.urdf';
WBTConfigRobot.LocalName = 'WBT';

% Controlboards and joints list. Each joint is associated to the corresponding controlboard 
WBTConfigRobot.ControlBoardsNames     = {'ankle_setup_control_board'};
WBTConfigRobot.ControlledJoints       = {'ankle_joint'};

ControlBoards                                        = struct();
ControlBoards.(WBTConfigRobot.ControlBoardsNames{1}) = {'ankle_joint'};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions