Hallo
I want to define custom value for for the costmap.
In costmap2D API there are 4 special values:
static const unsigned char NO_INFORMATION = 255;
static const unsigned char LETHAL_OBSTACLE = 254;
static const unsigned char INSCRIBED_INFLATED_OBSTACLE = 253;
static const unsigned char FREE_SPACE = 0;
How can i define my particular costmap value ?
thanks
Originally posted by Developer on ROS Answers with karma: 69 on 2018-03-08
Post score: 0
Original comments
Comment by David Lu on 2018-03-09:
There's nothing stopping you from saying const unsigned char FOO=42
but I have the feeling you mean something deeper. What do you want that value to do?
Comment by Developer on 2018-03-09:
yes you are right,case is deeper.I want to integrate/use that custom value in the global path planner. Global path planner should create ways on this new defined const unsigned char.The Question is: is it possible and which files should be manipulated?(except costvalues.p, costmap_2d_publisher.cpp )