saahu27 / aprs

1 stars 0 forks source link

The geometry element of collision coudnt be created #1

Closed saahu27 closed 1 year ago

saahu27 commented 1 year ago

Screenshot from 2023-07-12 11-09-37

I think this error is caused by specifically exporting the models path as : export GZ_SIM_RESOURCE_PATH="$PWD/ariac_ws/src/ariac_gz/models".

The reason i think this is the case because, if we are launching ur robot simulation from the aprs_ws ros2 launch gz_control_demos urrobot.launch.py this error does not pop up. But if i try to load the same launch file from the ariac_ws the error pops up.

NOTE: The errors are for all cllissions including Trays, bins etc involving a cllision contact.

Replicate the issue : Follow instructions in the read me file to launch ariac 2023. To see a working simulation of ur robot with out the error, follow instructions in read me to launch aprs_ws.

saahu27 commented 1 year ago

solved the problem of exporting by hooking the path through ament hooks. The problem still persist. all the collision contacts are not being recognized. i think it has something to do with the physics and update rate. Not sure as of now.

saahu27 commented 1 year ago

apparently the ros_gz package has some active changes and this is the cause for the collision. So, identified where the error came from but still need a work around on the cause of isssue.

saahu27 commented 1 year ago

done