Simulate GPS IMU With Quadcopter Swarm? - matlab

I have multiple drones work in swarm formation, i made the quadcopter model and the swarm one.
Until now i have the swarm moving in a formation leader-follower and track a predefined trajectory based on PID Controller.
What i need help is how to add GPS, IMU sensors model to my model?

Related

Is there a small device compatible with the Hololens that can track its location in relation to the Hololens?

I am trying to superimpose a 3D model onto a 3D physical object, and I am currently using Vuforia and the Model Target Generator. This uses computer vision to first recognize my physical model and then superimpose my 3D models.
I want to be able to superimpose the hologram even if you can't see the full phyisical model. I'm thinking I could glue some locational tracker of sorts to my physical model, and the Hololens would know the position of that at all times, even if its not visible. Additionally, my physical marker is not in a specific environment. Does anyone know a possible device that could do this?

Neural Network realtime Instance Segmentation from Video

I'm new to this whole neural network stuff, and for my first project I'd like to detect a car moving trough the frame. So far I found the cocodataset and YOLO object detection.
What I'm think I'm after is Object/Instance Segmentation, so I can define a region of Interest inside my view and then check for overlap with the Instance segment. As soon as a certain area is reached I can use that information as a trigger.
I guess as soon as I have the classified instance outline the geometrical stuff shouldn't be the issue, but for now I don't know if this is possible.
Has this been done, is there some example code (preferably in some "lazy" language as python, js). Is this currently possible in realtime at all? Do I have any chance to run this on a modern smartphone?

Modeling segway robot in simscape multibody

Hello guys I am trying to model a self balancing segway robot in Simscape multibody, but there is a problem that I can't see the effect of gravity on my model as I run it. I have checked the direction of the gravity and the mass of my bodies but it still does not work. The inputs of the system are the revolute joints torques which are going to be connected to a controller.
The simscape model
The robot configuration

Turning off HoloLens infrared senors?

Is it possible to turn off the HoloLens infrared sensors in my unity application? I am using another external infrared sensor and the HoloLens infrared lights are interfering with my other device.
That is a great question, and, so far, Microsoft has not exposed an API to turn the Infrared Lights off. From my experiments, those LEDs play two critical roles. First, they light the environment so that HoloLens can create a 3D mesh (Spatial Mapping) of the environment in a similar way to what Microsoft Kinect did in Kinect Fusion. Second, they might help with gesture recognition.
If you are not using Spatial Mapping, and most of your interaction will happen through other means then air-taps, you can safely cover those with tape. Luckily, those LEDs are not a crucial part of HoloLens' implementation of SLAM (Simultaneous Location and Mapping), so Holograms will stay anchored onto anywhere you pinned them.

Optical flow based vehicle detection and tracking MATLAB

I am working on Optical flow based vehicle detection and tracking purely on MATLAB.
Provided that camera is in motion and object is also in motion.
Previously, a lot work is done on camera in stationary condition and object moving. Optical flow vectors can easily be determined using LUCAS-KANADE method and Horn and shunck. Sipmly taking two consecutive images results are achevied. I have done tests and acheived.
There is also simulink example viptrafficof_win available.
I need to perform optical flow based detection and tracking for camera and object both in motion. What methodology shall I pursue?
If your camera is moving, you would have to separate the camera motion (ego motion) from the motion of the objects. There are different ways of doing that. Here is a recent paper describing an approach using the orientations of optical flow vectors.