You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am at the right place and my issue is directly related to ROS#. General technical questions I would post e.g. at ROS Answers or Stack Overflow. For library-specific questions I would look for help in the corresponding library forums.
I have thoroughly read the Contributing Guideline and writing this issue is the right thing to do in my case.
I searched the Wiki, open and closed issues for an answer. I tried my best to find the answer by myself without success. I believe that the discussion we will have in this issue, and the solutions we might find, will help me, and likely other community members who have a similar problem.
Here is my question:
Hi, I'm trying to Sub a custom MessageType in Unity but end up in failure.
The terminal in Ubuntu shows: 2025-03-10 15:30:20+0800 [-] [ERROR] [1741591820.225644]: [Client 7] [id: /detection_result:0] subscribe: Unable to load the manifest for package RosSharpMessages. Caused by: RosSharpMessages
The MessageType content is
My test script in Unity is
using RosSharp.RosBridgeClient;
using RosSharp.RosBridgeClient.MessageTypes;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RosSharp.RosBridgeClient
{
public class CustomDetectionSub : UnitySubscriber<MessageTypes.RosSharpMessages.DetectionResult>
{
public Vector3[] arucoLoc;
public Vector3 baseLoc;
public Vector3 asmObjLoc;
public Vector3[] brickLocs;
protected override void Start()
{
Topic = "/detection_result";
arucoLoc = new Vector3[2];
brickLocs = new Vector3[3];
base.Start();
}
protected override void ReceiveMessage(MessageTypes.RosSharpMessages.DetectionResult msg)
{
Debug.Log(msg.class_name);
if(msg.class_name == "aruco_0")
{
arucoLoc[0] = new Vector3((float)msg.x, (float)msg.y, (float)msg.z);
}
else if(msg.class_name == "aruco_1")
{
arucoLoc[1] = new Vector3((float)msg.x, (float)msg.y, (float)msg.z);
}
else if(msg.class_name == "base")
{
baseLoc = new Vector3((float)msg.x, (float)msg.y, (float)msg.z);
}
else if(msg.class_name == "asm obj")
{
asmObjLoc = new Vector3((float)msg.x, (float)msg.y, (float)msg.z);
}
else if(msg.class_name == "brick")
{
}
}
}
}
I've applied some other custom topics and the same issue showed never once.
Is there anything I've missed?
Thank you.
The text was updated successfully, but these errors were encountered:
Here is my question:
Hi, I'm trying to Sub a custom MessageType in Unity but end up in failure.
The terminal in Ubuntu shows:
2025-03-10 15:30:20+0800 [-] [ERROR] [1741591820.225644]: [Client 7] [id: /detection_result:0] subscribe: Unable to load the manifest for package RosSharpMessages. Caused by: RosSharpMessages
The MessageType content is

My test script in Unity is
I've applied some other custom topics and the same issue showed never once.
Is there anything I've missed?
Thank you.
The text was updated successfully, but these errors were encountered: