Answered
Can we decode MAVlink protocol on matlab?
You can consider using mavlinkio.

2 years ago | 0

Answered
Hardware board PX4 Pixhawk 4
Make sure that you chosse Pixhawk 4 in Simulink model configuration settings as well ( Model Settings -> Hardware Implementation...

2 years ago | 0

Answered
Connecting jetson nano with Pixhawk
As per the error message it look like there is problem with UDP socket creation itself. Makesure that the IP Address entered are...

2 years ago | 0

Answered
PX4 Toolbox "how to start" - Log in SD Card.
I found this video very helpful in setting up and getting started with the supportpackage.

2 years ago | 0

Answered
Possibility to connect an external sensor instead of an internal sensor and getting access to that sensor in the model for "Embedded Coder Support Package for PX4 Autopilot" ]
I found this documentation page very helpful in setting up the Pixhawk in HITL mode. You can consider looking at the ' Follow Mi...

2 years ago | 0

Answered
How can I block internal sensor access in a PX4 Autopilot inside Pixhawk since dedicated support package ?
I found this documentation page very helpful in setting up the Pixhawk in HITL mode. You can consider looking at the ' Follow Mi...

2 years ago | 0

Answered
Erro in PX4 Autopilots Examples
Makesure that you have selected the required hardware during the Hardware setup screens. If you are using 'Pixhawk 1', you can ...

2 years ago | 0

Answered
drone simulation using pixhawk flight controller
If you are looking for designing flight controllers in Simulink and deploying it into Pixhawk targets, UAV Support Package for P...

2 years ago | 0

Answered
Hardware in Loop Simulation with pixhawk board using Embedded Coder for Px4 toolboxes : The base rate of the Simulink model 0 millisecond is less than 1 millisecond
I agree with Purav's suggestion. Please makesure that the base sampletime of your model is greater or equal to 1 millisecond.

2 years ago | 0

Answered
rtk gps support in pixhawk-simulink toolbox
As per the block description, PX4 GPS Simulink block uses the ''vehicle_gps_position' uORB topic to read GPS value. So if the '...

2 years ago | 0

Answered
Difficulty foor running a class
As Walter Roberson pointed out, please make sure that you store the classdef in a separate file with the same name as the class ...

5 years ago | 0

Answered
how to get the gradient of fucntion from vectors to scalars by matlab?
I assume you are referring to the gradient of L2 norm squared. You can directly apply the closed form expression of the gradient...

5 years ago | 0

Answered
How to resample continuous random variables based on a 2D probability density function
I believe the <http://www.mathworks.com/help/stats/randsample.html randsample> function will be helpful to you. You can use the ...

5 years ago | 0

Answered
Tire model with dynamic rolling radius
What do you mean by dynamic rolling radius? Do you want to change it during simulation runtime? As per the documentation, the d...

6 years ago | 0

Answered
How to resize a 3D image into a 4D image to use in montage?
There are different ways to pass a set of images as input to <https://www.mathworks.com/help/images/ref/montage.html montage> fu...

6 years ago | 0

Answered
How to plot multiple values of a variable in one graph?
I believe you want to plot the maximum value for each graph against the index file. You can simply store maximum values in |l| a...

6 years ago | 0

Answered
How can I register a series of images stored in an array with imregister?
You need not loop through individual pixels for image registration. Since image registration is a global transform, you can dire...

6 years ago | 0

Answered
How do I find pixel intensity in ROI and color based on intensity?
If you want the community to understand your code and help you, you may need to provide bit more details about your code and you...

6 years ago | 0

Answered
How to create exe file and use with MATLAB installed?
You need to launch MATLAB for running .m files. You can use <https://www.mathworks.com/help/compiler/index.html MATLAB compiler>...

6 years ago | 1

Answered
How to detect the the are of the object?
One of the ways to achieve this is by using connected component analysis or hough circles, but I believe you may need to use a b...

6 years ago | 1

Answered
How to check the lighting condition of an Image programatically?
First, we need to decide an algorithm for detecting the underexposed images. A simple algorithm will be something like calculati...

6 years ago | 0

Answered
I have no idea of this code,,,, please help me.
As far as I know, |cfc| is not a built-in MATLAB function. It may be a custom function and you can open function by entering |ed...

6 years ago | 0

Answered
how to draw boundary of an image
The |bwboundaries| returns the possible boundaries in the input image as a cell array. Any specific boundary can be extracted by...

6 years ago | 0

Answered
Does image augmentation increase the number of training data?
|augmentedImageDatastore| increases the training data by performing resizing, rotation, and reflection etc. Technically it is tr...

6 years ago | 0

| accepted

Answered
Solve a system of equations iteratively
If the error says 'Subscripted assignment dimension mismatch', that means you attempt to assign elements to an existing array, b...

6 years ago | 0

Answered
I've found code online to find the clustering coefficients from the adjacency matrix, and i'm trying to understand how it works. So deg and cn are column vectors, but i don't understand what cn(deg>1) or deg(deg>1) actually means. thanks
This is basically logical indexing. |deg>1| returns a logical matrix of size |deg| with value 1 at coordinates where |deg>1| con...

6 years ago | 0

Answered
How do i isolate the vertical lines in an image?
You can use the |imgradientxy| function to find gradients along x and y axis. Since the vertical lines will have gradients along...

6 years ago | 0

Answered
how to detect rough boundary of a object in a image
I think the morphological operations like erode and dilate will be useful in separating the central bell-shaped region from the ...

6 years ago | 0

Answered
How to detect low contrast objects with varying intensity ?
Detecting circles or shapes rely on the quality of the image gradient we can get. When the circle pixels are close to the backgr...

6 years ago | 0

Answered
How would I go about running trough an RGB image and turning all pixels with R >200 to white?
You can use logical indexing. First, find a logical map to find the pixels locations (R>200) and use this logical map for logica...

6 years ago | 1

Load more