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

accessing the content of the interface "isaac_ros_tensor_list_interfaces/msg/TensorList" #125

Open
NirshalChandraSekar opened this issue Jun 6, 2024 · 0 comments

Comments

@NirshalChandraSekar
Copy link

NirshalChandraSekar commented Jun 6, 2024

I am subscribing to this topic /tensor_sub of message type "isaac_ros_tensor_list_interfaces/msg/TensorList".
The message is structure this way:
std_msgs/Header header
builtin_interfaces/Time stamp
int32 sec
uint32 nanosec
string frame_id

A list of tensors
Tensor[] tensors
string name
TensorShape shape
uint8 rank
uint32[] dims
int32 data_type
uint64[] strides
uint8[] data
How do i access the frame_id in the header of this message. I tried doing "msg.header.frame_id" but its not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant