Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"list index out of range" with long topic name in subscriptions #862

Open
thomasl-paintup opened this issue Jun 1, 2023 · 2 comments
Open

Comments

@thomasl-paintup
Copy link

Description
When using roslibjs, if the topic name is /station/utils/tf/simplified i have the error below, when using /station/utils/simplifiedtf it is working. Didn't find the source of the error.

  • ROS Version: Humble
  • Platform / OS: Ubuntu 22.04

Steps To Reproduce

let listenerSimplifiedTF = new ROSLIB.Topic({
    ros: getState().ROSBridge.rosBridge,
    name: "/station/utils/tf/simplified",
    messageType: "paintup_msgs/UtilTFSimplified",
});

listenerSimplifiedTF.subscribe((message) => {
    console.log(message);
});

In my launch file :

Node(
    package='rosbridge_server',
    executable='rosbridge_websocket',
    namespace='rosbridge_foxglove',
    parameters=[
        {"port": 9090},
        {"address": ""},
        {"retry_startup_delay": 5.0},
        {"fragment_timeout": 600},
        {"delay_between_messages": 0},
        {"max_message_size": 10000000},
        {"unregister_timeout": 10.0},
        {"use_compression": False},
        {"topics_glob": ""},
        {"services_glob": ""},
        {"params_glob": ""},
        {"bson_only_mode": False}
    ],
),

Error
[rosbridge_websocket-1] [ERROR] [1685611515.714429235] [rosbridge_foxglove.rosbridge_websocket]: Exception calling subscribe callback: list index out of range

@brean
Copy link

brean commented Jan 4, 2024

You have an "index out of bounds" error somewhere in your code, I assume you write python because the error message sounds familiar from there. I assume this is not a bug with the ROSBridge-Suite and it can be closed.

Copy link

github-actions bot commented Jan 4, 2025

This issue has been marked as stale because there has been no activity in the past 12 months. Please add a comment to keep it open.

@github-actions github-actions bot added the stale label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants