chengyangkj / Ros_Qt5_Gui_App

ROS human computer interface based on Qt5(基于Qt5的ROS人机交互界面)
GNU General Public License v2.0
898 stars 304 forks source link

rviz画bezier #9

Closed sweetquiet closed 2 years ago

sweetquiet commented 3 years ago

你好,请问如何在rviz里画曲线呢,就像CAD那样画线

WelinLee commented 3 years ago

可以的,比较复杂,要改costmap 2d,看放在哪一层。还要再写一个消息用于广播地图信息,地图里面包含贝塞尔曲线信息。或者你直接广播曲线信息也可以,一般也就包含四个点。