根据您的使用方式,我来为您提供使用 map_generator 的可视化方法。由于 map_generator 没有现成的 launch 文件,我们需要手动启动节点。
bash展开代码# 终端1:启动roscore
cd /xd_ws/ego-planner
export ROS_MASTER_URI=http://localhost:11311
source devel/setup.bash
roscore
src/uav_simulator/mockamap/src/mockamap.cpp 去ws:
bash展开代码# 使用 Debug 模式构建
catkin_make -DCMAKE_BUILD_TYPE=Debug
初始化环境:
bash展开代码source devel/setup.bash
AI制定了一个开发过程:
我来为您制定一个详细的节点学习计划,让您能够逐个调试和理解每个模块的功能。
bash展开代码sudo nano /etc/systemd/system/npc.service
js展开代码docker run \
-e QT_X11_NO_MITSHM=1 \
-e DISPLAY \
-v ~/.Xauthority:/root/.Xauthority:rw \
-v ~/tmp/.X11-unix:/tmp/.X11-unix:ro \
--net host \
--gpus all \
-v ~/out_home:/out_home \
-v /data/xiedong/xd_ws:/xd_ws \
-it kevinchina/deeplearning:ros-noetic-cuda11.4.2-v5 bash
训练数据存储在JSONL文件中,每行是一个JSON对象,包含以下关键字段:
json展开代码{
"image": {
"<image_00>": "/path/to/step_0.png",
"<image_01>": "/path/to/step_1.png"
},
"conversations": [
{
"role": "system",
"content": "系统提示词..."
},
{
"role": "user",
"content": "<Question>用户问题</Question>\n当前屏幕截图:<image_00>"
},
{
"role": "assistant",
"content": "{\"POINT\":[723,536],\"to\":\"up\"}"
}
],
"bbox": [[x1,y1,x2,y2], ...], // 可选:边界框信息
"bbox2": [...], // 可选:第二个边界框
"id": 0
}