You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- visuals (true/false) : rviz & flipper data UI(flipper_control_data node) available default -> false
- front (true/false) : front two fillper control parameter default -> true
- back (true/false) : back two flipper control parameter default -> true
- init (true/false) : auto init control parameter default -> true
Package Description
realsense_filter
This package calculates the angel from the object in the surface. Our team had to control four flippers, so I used two realsense camera(d435i) to get pointcloud data.
The input from the realsense camera is filtered to compress the raw data size, and remove the unneccesary parts. Three filters were used, descripted below.
- Passthrough Filter
- Voxel Grid Filter
- Outline Removal Filter
- Three Filters at once
Using These Filters, two pointcloud raw data is splitted to four pointcloud data for flippers each.
Four pointcloud data are used to calculate the angle of the object from the surface. Simple math is used in this process.
atan() function returns a float data from the input. This function refers to arctangent.
From the pointcloud data, a point which has the biggest Z coordinate data is founded. The Z coordinate and Y coordinate can be used as height of the object and distance from the robot each.
Having Z and Y data, tangent value can be derived. Finaly, the target angle's value equals to atan(tan(angle)) = atan(tan(Y/Z))
Here is a simple image that explains the description.
Back flipper simple test video without IMU feedback. (click)