How to get smooth acceleration with path planning ?
Posted: 07 Jan 2019, 15:09
HI,
I have simulated a cube with several gyros and accelerations to test a sensor fusion algorithm. I define a trajectory and use sim.setObjectPosition to set its desired positions. But the acceleration does not seem to be smooth. It looks like it is always accelerating and then stop in one timestep, which is not the case in the real world. I want to ask how to make the acceleration smooth numbers instead of jumping numbers?
timestamp, acceleration
5081747, 2.0963110896648
5081775, -2.096555561829
5081783, 2.0964798918735
5081796, -2.0967751211156
I have simulated a cube with several gyros and accelerations to test a sensor fusion algorithm. I define a trajectory and use sim.setObjectPosition to set its desired positions. But the acceleration does not seem to be smooth. It looks like it is always accelerating and then stop in one timestep, which is not the case in the real world. I want to ask how to make the acceleration smooth numbers instead of jumping numbers?
timestamp, acceleration
5081747, 2.0963110896648
5081775, -2.096555561829
5081783, 2.0964798918735
5081796, -2.0967751211156