GPU-Accelerated Coverage  0.1.0
Compute coverage tours for known environment with articulated objects on GPU
Public Member Functions | Public Attributes | List of all members
articulation::shader::costmap_visual::FragmentShader Class Reference

Fragment shader for costmap-visual. More...

Public Member Functions

vec2 colorToCoord (const vec4 color)
 
float hasSeed (vec4 cell)
 
float computeDistance (const vec2 coord, const vec4 otherCell)
 
vec4 costFunction (const float cellDistance)
 
void main ()
 

Public Attributes

uniform float resolution
 
uniform sampler2D texture_unit
 
in vec2 tex_coord
 
out vec4 frag_color
 
const float INFINITY = 1e8
 
const float weight = 2.f
 
const float inscribed_radius = 8.f
 
const float cutoff = 25.f
 

Detailed Description

Fragment shader for costmap-visual.

Author
Stefan Osswald
Date
2018
Remarks
Fragment-Shader

The documentation for this class was generated from the following file: