Results 8 comments of Shaoxiong Yao

哈哈哈哈哈哈哈哈哈哈哈哈哈哈

Thank you for your reply but an issue is that I need to resume not only the position but also velocity. I currently manually set these values using `body.velocity =...

I tried to use apply force instead of apply impulse, and the simulation can be reproduced. I think applying force does not change underlying cached impulse in this space, is...

1. Just double-checked dt is fixed value 0.02, is this value acceptable? 2. write an example ` import pymunk import pickle import numpy as np def print_state(body_list): print("print state") for...

Set `np.random.seed(100)`, output from first script, `print state Vec2d(16.00564506776223, 12.897785950718719) Vec2d(24.688662442204407, 117.43482533622887) Vec2d(30.351513602377203, 15.823084355095963) Vec2d(39.0207300816362, 53.91865980657133) Vec2d(37.74599437735488, 6.777054107096236) Vec2d(-18.876469023389497, 11.413410812760468) Vec2d(50.99016688225109, 9.076567693053489) Vec2d(33.14868149605506, 18.7550937992691) Vec2d(58.986139354729644, 0.23981670577076403) Vec2d(5.309084272728137, 27.888768508841814) Vec2d(70.03188649891426, -0.02132835998703142)...

I tried to print out impulses on springs and it shows they are 0s for space loaded from the pickle but the impulses in the original engine are not 0s....

I have the same issue, but it may not be caused by a memory leak. My code is: ``` dim = 3 num_p = 80000 num_q = 80000 ref =...

I tried `sudo apt-get install ros-foxy-diagnostic-updater` (I am using `foxy`) and the problem is resolved.