graph object

Typically: "How do I... ", "How can I... " questions
Post Reply
asbot
Posts: 2
Joined: 11 Feb 2024, 23:13

graph object

Post by asbot »

Hi,

I am trying to plot the trace of the path followed by a Pioneer 3dx robot. For that I want to use Graph object's "Add New Data Streams to Record" feature. However, I do not see the "Add New Data Streams to Record" option in the Graph property window. My question is, how can I have the feature "Add New Data Streams to Record"?

Thank you.

fferri
Posts: 1230
Joined: 09 Sep 2013, 19:28

Re: graph object

Post by fferri »

It is done in code, with sim.addGraphStream / sim.addGraphCurve.

See the example at https://manual.coppeliarobotics.com/en/graphs.htm

asbot
Posts: 2
Joined: 11 Feb 2024, 23:13

Re: graph object

Post by asbot »

Thank you for providing the names of the functions and the link. However, I want to plot the graph curve in the scene using matlab's api. Can you please let me know if that is possible and how to achieve that?

fferri
Posts: 1230
Joined: 09 Sep 2013, 19:28

Re: graph object

Post by fferri »

Yes, you should use ZeroMQ remote API which makes all API functions available to MATLAB too.

Post Reply