Search found 17 matches

by chathu1
06 Dec 2023, 06:31
Forum: General questions
Topic: Writing values to seperate files
Replies: 1
Views: 16305

Writing values to seperate files

I want to write values to two separate cvs files at the same. When I use "file:write()" to specify the value that I write to the file, how do I specify which file it should be on?
by chathu1
01 Dec 2023, 07:28
Forum: General questions
Topic: Changing script for graph x and y axis numbers
Replies: 1
Views: 10321

Changing script for graph x and y axis numbers

I need to change the size of the numbers in x and y axis(for example: time numbers in the x axis). I was able to change the line width by changing the Lua code script in the "graph_customization". What line should I change in this file to change the size of axis value numbers?
Thank you
by chathu1
13 Oct 2023, 23:47
Forum: General questions
Topic: Changng graph line width
Replies: 1
Views: 1034

Changng graph line width

Hi

Is there a way to change the line width of the graph? The default line width of the graphs are too small once I add them to my report.

Thanks
by chathu1
30 Aug 2023, 23:47
Forum: General questions
Topic: Exporting data to matlab
Replies: 1
Views: 481

Exporting data to matlab

I need to export a variable (real time data values for that variable) to matlab. Is there a way to do this?
by chathu1
30 Aug 2023, 23:46
Forum: General questions
Topic: How to save graphs
Replies: 1
Views: 460

How to save graphs

I added a graph to monitor real time velocity of my robot. It works fine as long as the simulation runs, but as soon as the simulation stops the graph disappears. I want to use that graph for my report. Is there a way to keep the graph once the simulation is stopped or a way o save that graph??
Thanks
by chathu1
24 Jun 2023, 03:12
Forum: General questions
Topic: Jerk Calculation
Replies: 3
Views: 2358

Re: Jerk Calculation

Where do I write this code? Inside sysCall_actuation function?
by chathu1
23 Jun 2023, 17:53
Forum: General questions
Topic: How to find acceleration
Replies: 3
Views: 810

Re: How to find acceleration

Ant it is a differential car so I would only need the rotational acceleration about z axis
by chathu1
23 Jun 2023, 17:25
Forum: General questions
Topic: How to find acceleration
Replies: 3
Views: 810

Re: How to find acceleration

I'm new to Coppeliasim. Can you provide a sample code or something so I can get an idea on how to do that? Thanks
by chathu1
23 Jun 2023, 02:06
Forum: General questions
Topic: How to find acceleration
Replies: 3
Views: 810

How to find acceleration

I am trying to find the acceleration (translational and rotational) of an object real time. I can find the velocity of the object using the get sim.getVelocity but then how do I get the acceleration? Is there a way to take the derivative of the velocity?
by chathu1
15 Jun 2023, 17:21
Forum: General questions
Topic: PID controller for a two wheel differential robot
Replies: 1
Views: 472

PID controller for a two wheel differential robot

Hi! I'm building a two wheel differential robot that can be controlled with a joystick, and I plan to incoperate a PID controller for it. How do I implement a PID controller in coppeliasim?