You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QT Ui in ROS2 implementation - Multithreaded implementation
QT + ROS2
It's handy to have GUIs for your ROS applications, but QT applications run a bit differently with ROS. They must be run in a multithreaded execution to work properly.
The following example shows my workflow for using a QT gui (with an external ui file) in a ROS node:
# An example interface node for the guiimportrclpyfromrclpy.nodeimportNode
Configuring Cyclone DDS for Wifi + Ethernet connection on an Enterprise Network (for ROS2)
Configuring Cyclone DDS for Wifi + Ethernet connection on an Enterprise Network (for ROS2)
For communication between wifi and ethernet devices, the DDS layer in ROS2 relies on the multicast ability of a given network.
This is often disabled on enterprise networks (at university or work etc) for (I think) security reasons .
To get around this, you have to configure CycloneDDS to comunicate in a unicast manner, and you must specify the local IPs
of all the participants you want to communicate.
_I am using CycloneDDS instead of the default (for ROS2 humble at least) FastDDS, because I ran into lots of issues trying to get topic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Getting u-blox MAX-7C GPS to work with Assisted A-GPS
Getting u-blox MAX-7C GPS to work with Assisted A-GPS
So you got your u-blox GPS and wired it up only to look at it struggling to get a valid fix? Under less than ideal conditions, it can take a better part of half an hour. That's because unlike your smartphone GPS, it doesn't have the luxury of having downloaded all the auxiliary navigation data (almanacs and the lot) out-of-band, via fast mobile connection. Instead it relies on the satellite's signal itself, which is being transmitted to you at meager 50 bits per second (I'm not missing "kilo" there, it's three orders of magnitude slower than your 2G GPRS connection).
Luckily, the u-blox receivers are fitted with what the company calls "AssistNow" capability and it does exactly the same thing your iPhone does - feeds the GPS with pre-downloaded almanacs, speeding up the acquisition process to mere seconds.
In principle, the process looks easy enough - we just need to download the data, and then push them to the receiver. Sadly, the AssistNow documentat