Search found 5 matches

by Essembly
07 Aug 2020, 11:07
Forum: General questions
Topic: Converting Negative Angles into Positive Orientation
Replies: 4
Views: 1106

Re: Converting Negative Angles into Positive Orientation

Omg, it works! Thank you so much :)
by Essembly
04 Aug 2020, 16:15
Forum: General questions
Topic: Converting Negative Angles into Positive Orientation
Replies: 4
Views: 1106

Re: Converting Negative Angles into Positive Orientation

Good day,
Thank you very much for your post. That's what I thought. Unfortunately, my attempts of developing such an algorithm didn't succeed. Can you help me with that?
by Essembly
04 Aug 2020, 10:39
Forum: General questions
Topic: Converting Negative Angles into Positive Orientation
Replies: 4
Views: 1106

Converting Negative Angles into Positive Orientation

Good day. I am working on a self-balancing robot (SBR) project. Here is the scene and the picture: https://i.imgur.com/qs9Mt72.png In my code: body = sim.getObjectHandle('SBR') body_ort = sim.getObjectOrientation(body, -1) sigma = body_ort[3] I am using getObjectOrientation() to get robot's orientat...
by Essembly
24 Jul 2020, 16:20
Forum: General questions
Topic: Angular Deviation from the Vertical Axis
Replies: 2
Views: 6551

Re: Angular Deviation from the Vertical Axis

RESOLVED: Let me know if anyone wants to see my code.
by Essembly
24 Jul 2020, 13:11
Forum: General questions
Topic: Angular Deviation from the Vertical Axis
Replies: 2
Views: 6551

Angular Deviation from the Vertical Axis

Good day. I am working on Self-balancing robot project which is a simple rectangular body on two wheels. I have to develop a way to calculate angular deviation (theta) of the robot from vertical axis as well as the rate of change of this deviation (dtheta/dt). Here is a pic: https://imgur.com/ID1Auu...