| Message Type | ROS to UE4 | UE4 to ROS |
|---|---|---|
| sdf | ✓ | |
| sdf | sfdsf | ✓ |
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
| // Really (really) fast unit vector normalisation | |
| var c = 0.7071067812; | |
| if(v[X] != 0 && v[Y] != 0) { | |
| v[X] *= c, v[Y] *= c; | |
| } |
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
| /** | |
| * particle_filter.c - A simple demonstration of a particle filter | |
| * | |
| * Example adapted from | |
| * http://web.mit.edu/16.412j/www/html/Advanced%20lectures/Slides/Hsaio_plinval_miller_ParticleFiltersPrint.pdf | |
| * | |
| * Suppose you're trying to tell if it is rainy or sunny outside (a system | |
| * with two possible states), but you can't see out any windows. The only | |
| * information you have is observations you make as your boss periodically | |
| * walks by your room; he will either be carrying an umbrella, or not carrying |
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
| #!/bin/sh | |
| # Convert .svg files to .png - works on a single file or | |
| # recursively on the given directory. | |
| # Requries ImageMagick's `convert` function | |
| # Author: Aaaron Snoswell | |
| density=${2-72} | |
| function convertsvg () { |
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
| """ | |
| Prompts the user to pick num_points from the figure displayed in window_name | |
| Promts the user to pick points from a displayed image. Users can cancel the | |
| point selection by pressing Escape. | |
| Args: | |
| window_name: The name of the window the user should pick from | |
| num_points: Number of points the user should pick (defaults to 4) | |
| mouse_event: The event to use for picking points (defaults to left |
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
| /** | |
| * Simple testcase for compiler-specific behaviour with the defined() C++ operator | |
| * The spec states that if defined() appears as part of macro expansion, the behaviour is undefined | |
| * | |
| * On GNU cpp treats it as a genuine define() operator. Visual C++ doensn't. | |
| * This generates many warnings when compiling e.g. the BSON library under Windows | |
| * | |
| * See https://gcc.gnu.org/onlinedocs/cpp/Defined.html for details | |
| * | |
| * On Visual C++ this program generates the following; |
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
| @echo off | |
| :: Toggles a VPN connection and does some other things | |
| :: [e.g. connect/disconnect shared drives] | |
| :: To set up a new VPN: type "rasphone /a" in the Run dialog [Win+R] | |
| set vpn_name="EAIT VPN Connection" | |
| ipconfig | find /i %vpn_name% && ( | |
| :: Disconnect VPN | |
| net use G: /delete |
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
| """ | |
| Demonstrates the batch_perception binary classification algorithm | |
| (Rosenblatt 1958) from p190 of Shavel-Shwartz, 2014 "Understanding Machine | |
| Learning" | |
| Requires: | |
| * Python 3 | |
| * numpy | |
| * scikit-learn | |
| * matplotlib |
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
| /* The below code is designed to be injected into any GitHub page with a | |
| * markdown document, e.g. from a bookmarklet | |
| */ | |
| // Build list of parent and child elements (don't hide these) | |
| var mdel = document.querySelector("article.markdown-body"); | |
| var el = mdel; | |
| var els = []; | |
| while (el) { | |
| els.unshift(el); |
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
| #!/bin/bash | |
| # Acts as a proxy for apt-get - downloads packages on the local (devlopment) | |
| # machine, then copies them to movo1 and movo2 and installs them | |
| # It is suggested you run this in a temporary folder, as it downloads packages | |
| # to the current working directory | |
| # Caveat: Your movo-dev machine must be running the same ubuntu version and | |
| # architecture as the movo machines (14.x, x86_64), otherwise it won't grab the | |
| # correct packages |