Comments (3)
请问你所指的“无人机仿真器”是项目所提供的吗?还是说其他的类似于gazebo一样的环境。同时还请说一下你的系统环境,虚拟机还是linux系统。
-
关于仿真里ROS的延时
“Swarm-Formation的Rviz显示无人机的位置总是大幅落后于规划出来的红色轨迹”,这个现象与ROS的延时无关,目前你说描述的想象我更倾向于认为是系统算力和内存不足所导致的,由于ros node的机制,可能由于算力限制导致线程卡顿了,如果想确定这个问题,可能需要提供更多配置细节。另一方面,如果仿真的无人机数量过多,也会导致这个问题,如果你使用rqt_graph查看,你就会发现每增加一个无人机,就会增加相应的建图、感知、规划和控制node的开销。 -
关于真机部署
控制频率一般是100Hz。 -
如何解决无人机延迟问题
这个问题需要拆解为网络延时和算法延时,目前我认为你首先需要解决算法延时的问题,网络延时我们并没有系统地解决,该项目在做实验的时候在150ms的网络延时下可以正常运行。至于总延时较大的情况下,该项目并没有系统解决,这里我推荐你去参考另一篇论文Robust MADER: Decentralized and Asynchronous Multiagent Trajectory Planner Robust to Communication Delay,它也有开源项目rmader。
from swarm-formation.
感谢您的回复。
我的系统环境为linux系统ubuntu 20.04。
我认为可以大致排除算法延迟的问题,因为目前我仅仿真6-7架无人机,用这个项目的仿真器运行没有任何问题。我试图使用的无人机仿真器不是项目仿真器,是一套动力学参数较为复杂的仿真器,但是它的计算速度比较慢,达不到100Hz的渲染速度。即,算法端可能在以100Hz的频率规划未来轨迹,但仿真端只能以50Hz乃至10Hz的频率执行,二者之间存在比较大的延迟,并且由于设置了ros消息的buffer大小,仿真端接收的指令可能会出现丢包。我感觉这样的延迟有点类似真机部署时遇到的通信或网络延迟。请问您在实机部署中遇到过类似的问题吗?这种问题有没有解决的途径呢?
from swarm-formation.
你的这个问题有点过于复杂了,我认为可能和实机部署场景中遇到的问题不太一致,很抱歉我没法根据你的描述给出更好的建议
from swarm-formation.
Related Issues (20)
- 第一个目标点点在编队正右方,出现问题 HOT 1
- 在没有障碍的时候,无人机会转圈圈或大波浪 HOT 2
- Cannot Compile HOT 2
- 运行仿真测试时其中一个agent停止不动,然后电脑内存爆掉死机 HOT 1
- hummingbird.skeleton HOT 2
- Question on maps HOT 3
- 想要将代码移植到turtlebot3,遇到速度无法降低到设定范围的问题 HOT 2
- 请问如何获得每个智能体的轨迹数据 HOT 1
- Questions about dfde. HOT 1
- Hardware testing HOT 4
- Motion target interference HOT 3
- There is a "double free or corruption (out)" error while using swarm_graph, I think there might be someting wrong with Eigen, my Eigen versioin is 2.0.0
- 一些实际调试问题
- 无人机架数达到100架时,编队飞行避障效果会怎么样 HOT 3
- 多目标点规划导致的路径问题 HOT 1
- 如何灵活地设置目标点 HOT 5
- 如何设置一个目标点序列,使得可以完成多段路径规划 HOT 2
- 仿真迁移真机时代码选择(有关摄像头)
- 请问集群行进过程中没有撞到障碍,但突然卡死一个飞机的可能原因是什么? HOT 3
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 swarm-formation.