Rqt_plot for total_wrench from gazebo_msgs/ContactsState.msg

How to generate the rqt_plot for msgs under gazebo_msgs/ContactsState ? I want to plot the forces either in any of x,y or z direction (under total_wrench which is under field type gazebo_msgs/ContactState, under the field name states) against time generated under the msg type: gazebo_msgs/ContactState.
Under rqt_plot, the topic name only can take upto the states field name, and not the underlying total_wrench field.

Hi @23hirak, welcome to the Community?

To help understand where you’re coming from:

  1. which course are taking?
  2. which unit are you on?
  3. which exercise are you trying to do?