How do you change the vehiclecostmap to a specific x and y axis dimension. Eg: [0 735] x [0 814] meters to [-30 3] x [-30 1] meters
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
I saved a matlab figure with axis dimension xlim = [-30 3] and ylim=[-30 and 1] as image.png to create occupancy map. The resulting dimension of the image is 734 x 814 pixels. After creating the costmap, the dimension is x_map = [0 735] and y_map= [0 814] meters. The challenge is, how to position the robot's x and y;it must lie within -30 and 3 and -30 and 1 (like originally intended). With my current costmap/occupancymap, how do I normalize/adjust the map dimensions from [0 735] x [0 814] to [-30 3] x [-30 1] . Thank you
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!