yxyang / locomotion_simulation

MIT License
80 stars 24 forks source link

run meet error #6

Closed littleggghost closed 3 years ago

littleggghost commented 3 years ago

Hi yang @yxyang After I run the example python3 -m locomotion.examples.test_env_gui --robot_type=A1 --motor_control_mode=Position --on_rack=True, I saw a static window but closed very soon without any movement. I want to figure out why program crashed.

Could I have your Wechat?

My environment is: Ubuntu 20.04, python 3.8.10 error log:

pybullet build time: Oct  8 2020 00:11:27
startThreads creating 1 threads.
starting thread 0
started thread 0 
argc=2
argv[0] = --unused
argv[1] = --start_demo_name=Physics Server
ExampleBrowserThreadFunc started
X11 functions dynamically loaded using dlopen/dlsym OK!
X11 functions dynamically loaded using dlopen/dlsym OK!
Creating context
Created GL 3.3 context
Direct GLX rendering context obtained
Making context current
GL_VENDOR=NVIDIA Corporation
GL_RENDERER=NVIDIA GeForce GTX 1060/PCIe/SSE2
GL_VERSION=3.3.0 NVIDIA 470.57.02
GL_SHADING_LANGUAGE_VERSION=3.30 NVIDIA via Cg compiler
pthread_getconcurrency()=0
Version = 3.3.0 NVIDIA 470.57.02
Vendor = NVIDIA Corporation
Renderer = NVIDIA GeForce GTX 1060/PCIe/SSE2
b3Printf: Selected demo: Physics Server
startThreads creating 1 threads.
starting thread 0
started thread 0 
MotionThreadFunc thread started
ven = NVIDIA Corporation
/home/xxx/.local/lib/python3.8/site-packages/gym/logger.py:30: UserWarning: WARN: Box bound precision lowered by casting to float32
  warnings.warn(colorize('%s: %s'%('WARN', msg % args), 'yellow'))
ven = NVIDIA Corporation
100%|████████████████████████████████████████| 800/800 [00:06<00:00, 123.83it/s]
numActiveThreads = 0
stopping threads
Thread with taskId 0 exiting
Thread TERMINATED
destroy semaphore
semaphore destroyed
destroy main semaphore
main semaphore destroyed
finished
numActiveThreads = 0
btShutDownExampleBrowser stopping threads
Thread with taskId 0 exiting
Thread TERMINATED
destroy semaphore
semaphore destroyed
destroy main semaphore
main semaphore destroyed
yxyang commented 3 years ago

Looks like program finished running without throwing any error. Maybe change the loop length in this line to make it run longer?

yxyang commented 3 years ago

Wechat ID: DavisYang_nfls

littleggghost commented 3 years ago

Very thanks

KiriyamaGK commented 10 months ago

Hello,have you solved this problem?

yxyang commented 10 months ago

Hi, I believe this issue was resolved according to the OP's post. Do you have additional issues? If yes, can you describe in more detail?