Comments (26)
@mingyux 不好意思打扰了,一直出现这个问题,知道是什么原因吗?感谢
from boteye.
Please follow the instructions here as we try to make things easier with scripts.
https://ai.baidu.com/docs#/Roboticvision_Sample-Program/top
from boteye.
你好..我是按照这个步骤来的,navigation_param里面我都有改为UDP方式对应的参数值。
现在guide_receiver是弃用了吗?刚才在wiki里面看到的..那UDP方式还能用吗?
谢谢!
from boteye.
No worry. guide_receiver
still works.
from boteye.
Please provide us with all the "commands" you've used.
from boteye.
这是我用到的全部的命令:
1、cd XP_release/0.14.58
2、source config_enviroment.sh
3、./bin/app_tracking -sensor_type XP2 -calib_file ~/XPIAC2SET182550007.yaml -record_path ~/mapRecord
4、python ./bin/pre_navigation.py --record_path=/home/king/mapRecord/
5、./bin/trajectory_maker --navigation_folder=/home/king/mapRecord/navigation
其中在navigation_param.yaml中:
actuator:sample
mode:loop
use_trajectory_file:true
from boteye.
After step 4, what's inside ~/mapRecord/navigation
?
./bin/trajectory_maker --navigation_folder=/home/king/mapRecord/navigation . # this line is correct
What's the error message? The files generated in Step 4 (pre_navigation.py) seem missing.
from boteye.
1、After step 4,~/mapRecord/navigation :
1、map_occupancy.png;
2、map_occupancy.yml;
3、map_overlay.png;
4、navi.pb;
5、waypoints.csv;
6、waypoints_graph.txt
2、执行
./bin/trajectory_maker --navigation_folder=/home/king/mapRecord/navigation
后,错误信息是:
E0315 10:17:01.403987 4951 navigation_utils.cpp:35] Waypoints load failed, filename: /waypoints.csv
F0315 10:17:01.405457 4951 path_planner_lib.cpp:127] Check failed: world_T_map.rows == 3 (0 vs. 3)
*** Check failure stack trace: ***
@ 0x7f6cf53215cd google::LogMessage::Fail()
@ 0x7f6cf5323433 google::LogMessage::SendToLog()
@ 0x7f6cf532115b google::LogMessage::Flush()
@ 0x7f6cf5323e1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7f6cf4ed8d6a PathPlanner::LoadMapSpecs()
@ 0x402b25 main
@ 0x7f6cf3954830 __libc_start_main
@ 0x4047f9 _start
@ (nil) (unknown)
已放弃 (核心已转储)
from boteye.
Please email the files in ~/mapRecord/navigation to us at [email protected]. Thanks.
from boteye.
好的,已发送。
from boteye.
On my machine, trajectory_maker
works fine with your data.
The error message:
Waypoints load failed, filename: /waypoints.csv
suggests that the filename is NOT complete.
I suspect your gflag is not passed in correctly.
Please try again with
./bin/trajectory_maker --navigation_folder="/home/king/mapRecord/navigation"
# or
./bin/trajectory_maker --navigation_folder /home/king/mapRecord/navigation
By the way, gflag does not automatically resolve ~/
.
from boteye.
现在可以了,改成你说的这两种方式,执行生成轨迹都是可以成功的,谢谢。
但是在后面执行
sh ${MASTER_DIR}/scripts/navi.sh /home/king/mapRecord/navigation
时出现了Error message:
script/navi.sh: 44: script/navi.sh: --calib_file=/home/king/XP_release/0.14.58/calibrationFile/XPIAC2SET182550007.yaml: not found
提示说找不到calib_file,但是calib_file文件的路径和navi.sh中我填写的路径是对应的
navi.sh中:
${MASTER_DIR}/bin/\
./app_tracking \
--navigation_folder=$navigation_folder \
--navi_config=${MASTER_DIR}/XP/config/navigation_param.yaml \
--calib_file=${MASTER_DIR}/calibrationFile/XPIAC2SET182550007.yaml \
--sensor_type=XP2 \
--show_depth \
--guide_ip=127.0.0.1 \
--guide_port=8889 \
是我哪里没有设置对吗?
from boteye.
The navi.sh is not even executed correctly, and app_tracking is NOT even launched. Please check carefully your spelling or even simply type everything directly at your terminal. We're using bash FYI.
from boteye.
好的,我直接运行了./app_tracking
把所有的参数分别输入,就可以启动了。
./guide_receiver
这边也收到了数据,数据上开始会有一个负的角速度,慢慢会变成slam定位丢失。
from boteye.
顺便问一下,假设我这边./guide_receiver收到的的数据为:
guide msg from 127.0.0.1:8889 [0.00,-0.26,1]
然后这边按16进制显示的话收到的数据为:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 92 0A 86 BE 01
共20个字节,数据之间是如何转化是怎样的呢?好像不是直接的16进制转化..
from boteye.
https://github.com/baidu/boteye/blob/master/include/XP/app_api/pose_packet.h#L148
from boteye.
原来这里的0.00和-0.26是距离和角度..我看说明上不是线速度和角速度吗...
我这边一直无法定位,Navigator框一直为lost,开始:
guide msg from 127.0.0.1:8889 [0.00,-0.26,1]
后面会变成:
guide msg from 127.0.0.1:8889 [0.00,0.00,4]
是摄像头的问题吗?
from boteye.
@mingyux 不好意思打扰了,可以帮忙看看这个问题吗?谢谢
from boteye.
https://github.com/baidu/boteye/blob/master/apps/app_tracking/app_guide_receiver.cpp#L57
[0.00,-0.26,1]
linear velocity = 0 (m/s)
angular velocity = -0.26 (rad/s)
1 = Status::OK
from boteye.
enum Status {
FAIL = 0,
OK = 1,
STOP = 2,
FINISH = 3,
LOST = 4,
OBSTACLE_AVOID = 5,
MANUAL = 6
};
from boteye.
"VIO lost" in Navigation mode means either 1) the vio is lost, or 2) the relocalization fails.
from boteye.
嗯嗯现在知道是线速度和角速度了。
我这边重定位好像一直没成功过呢..是因为我文件里面的参数没设置对吗?
from boteye.
Try
./app_tracking -sensor_type XXX -cabli_file /path/to/your/calib.yaml -pb_load /path/to/your/map.pb
And see if you can successfully reloc to the map.
If still not, please provide us your map.pb and do a short recording by adding -record_path /path/to/your/recording/folder
.
from boteye.
运行的结果如下:似乎没有红色圆圈
from boteye.
Reloc is done and successful. You can move around and see the cursor moving around. The visualization is different when building / loading a map.
from boteye.
我这边想保存规划的轨迹,然后自制底盘通过UDP接收Guide message来导航
那为什么在指定轨迹导航的时候重定位无法成功呢?
在Navigator一栏左上角一直都显示为lost
而且角速度也会从有到无,然后Status从OK变成LOST
我的命令:
./app_tracking -navigation_folder /home/king/mapRecord/navigation -navi_config /home/king/XP_release/0.14.58/XP/config/navigation_param.yaml -sensor_type XP2 -calib_file /home/king/XP_release/0.14.58/calibrationFile/XXXX.yaml -shou_depth -guide_ip 127.0.0.1 -guide_port 8889
navigation_param.yaml中部分改动:
Actuator type: sample
Navigation type : navi
mode: loop
use_trajectory_file:true
from boteye.
Related Issues (20)
- 急!一切正常,无法初始定位 HOT 13
- Do you have any technical paper about your slam? HOT 2
- boteye app 编译错误 in ubuntu16.04 HOT 6
- 找不到config_environment.sh
- ERROR:unknown command line flag 'pb_save' HOT 5
- app_tracking : Optimize3dPoints takes too long ... HOT 9
- ./app_tracking:can't save map.. HOT 5
- ./guide_receiver:can't receive message..
- Does boteye fit for "F"type path? HOT 1
- Is Boteye fit for Greenhouse Scene? HOT 1
- 求问:app_tracking.cpp的修改 HOT 1
- interesting drift in Z direction HOT 5
- 请问 loop closure detected 的代码在哪 HOT 1
- Question about generated disparity image
- The system cannot endure long distance (about 500m)? HOT 1
- compile error about libgflags.so.2 /usr/lib/x86_64-linux-gnu/libglog.so, conflict with libgflags.so.2.2
- where is the AprilTag5x7.png HOT 1
- 定时曝光?
- Wiki/Build里面的3rdparty_lib_lean无法下载
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boteye.