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

Open
#125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
30/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
robotics

Research direction

Start with the isaac_ros_tensor_list_interfaces/msg/TensorList definition and the subscriber for /tensor_sub. Verify how the generated message exposes header and frame_id, then document a working access example and the context needed to reproduce the reported failure.

Written by the indexing model from the issue text.

Description

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

Dominant language
C++
Stars
317
Forks
227
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA-ISAAC-ROS/isaac_ros_common

All issues in NVIDIA-ISAAC-ROS/isaac_ros_common

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.