Comments (6)
Apparently baudrate for usb0 are not matching. Try to simplify your setup to check for problems in each part. You can remove macros for tests purpose and add the endpoint to mavlink-router
from mavlink-router.
USB0 is used by mavros. But USB1 is for the telem and used by mavlink-router. Also, the connection is established to QGC and I can see the HUD. However, there is a noticeable delay. For example, if I move the drone, the HUD takes some time to reflect.
What macros are you referring to?
from mavlink-router.
Run mavlink-router with reports(-r) and paste here please but my guess it that the stream rate is too high for the 3DR telemetry module running at 57000bps, so several messages are not complete written to UART TX buffer and not transmitted.
from mavlink-router.
I meant mavros. You have 921600 baud to talk to pixhawk but only 57600 to send to QGC. If you have enough data going through the first link it will obviously not fit the speed of the second one. It will be buffered by mavlink-router until the buffer isn't big enough anymore and then you will start seeing message drops.
The way to get this working is to request different stream rate for the messages you are interested in and then create filtering capability in mavlink-router so you don't send those messages through the slow link. It'd be a good contribution.
What I said about mavros is that from your description you actually don't need it. And if you need it (e.g. you are using Ros nodes on Aero), it'd be better if you connect mavros to mavlink-router, not the other way around.
from mavlink-router.
Yes. I am using ROS. I need mavros fo communicate with pixhawk and I have another note that communicates with both mavros and with ground station. Also I need long range link so wifi is not my best option. This is why I am using 3DR telemetry but will shift to RFD900 soon.
Now what you mentioned about connecting mavros to mavlink-router, you mean
- mavlink-router connects to pixhawk and routes to a udp
- Mavros connects to udp and bridges to QGC via telem module?
from mavlink-router.
So I got this working with the following setup.
- Mavlink-router connects directly to Pixhawk using the serial link 57600 and routes this to two ends. One is a udp to communicate with mavros. The other ends is to another serial link which is the telemetry to QGC.
from mavlink-router.
Related Issues (20)
- Messages Filters: Endpoint received messages from all systems even though AllowSrcSysIn is set HOT 3
- Mavlink-router doesn't works.
- High PL rate during route the mavlink message
- remote connection using mavlink router HOT 3
- How am I supposed to write C++ application that receives data from Mavlink router and sends data to the mavlink network at the same time? HOT 6
- Dynamic endpoint manipulation HOT 10
- Unnessary error: Could not open conf file
- Allow using hostname instead of IP address for endpoints HOT 4
- Autolog Not Recognizing New Connections After Switching Systems
- Raspbian OS lite (64bit) getting stucked after "ninja -C build" command HOT 2
- ninja: error: unknown target 'clang-format' HOT 3
- Pixhawk + Pi5 HOT 1
- Issue Compiling mavlink-router with uClibc on armhf Processor
- Mavlink HOT 1
- Can't use nuttx shell via TCP from Mavlink-rounter PX4
- musl binaries are not truly static
- Add tlog rotation
- linking Ardupilot to SiK Telemetry radio via Raspberry pi running mavlink-router HOT 1
- Incomplete messages issue HOT 6
- Route mavlink packets to the cloud via LTE/4G error: messages to unknown endpoints in the last 5 seconds HOT 1
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 mavlink-router.