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.
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 theROS2SensorComponent
, which implements some of the basic functionality.Please refer to Gazebo implementation and documentation