o3de / o3de-extras

Other
60 stars 60 forks source link

Implement contact sensor #405

Closed jhanca-robotecai closed 1 year ago

jhanca-robotecai commented 1 year ago

Implement a contact sensor (as a component). The contact sensor should be added to ROS2 Gem. The goal is to reflect the behavior of Gazebo sensor as closely as possible in o3de environment.

You might want to use Az::Physics::SimulatedBodyEvents::OnTriggerEnter::Handler or any other similar handler to find all contacts. You might inherit from the ROS2SensorComponent, which implements some of the basic functionality.

Please refer to Gazebo implementation and documentation

jhanca-robotecai commented 1 year ago

Additional resources: gazebo_ros_bumper plugin