Community Profile

photo

Jianxin Sun

Last seen: 13 dagar ago Active since 2020

Statistics

  • Knowledgeable Level 4
  • Knowledgeable Level 3
  • Revival Level 1
  • 6 Month Streak
  • First Answer

View badges

Content Feed

View by

Answered
Simulation 3D Camera gimbal in UAV Toolbox
Hi Arnau, You can refer to the Simulation 3D Camera documentation https://www.mathworks.com/help/uav/ref/simulation3dcamera.htm...

ungefär en månad ago | 0

Answered
How to change the altitude in UAV Package Delivery Example?
The buildings in US City Block has finite height. You can increase your flight altitude in simulation to 150, which should put y...

3 månader ago | 0

Answered
How to add building from OSM file into UAV scenario designer
Hi, can you check what is the reference location of your scenario? It should be set to within the latitude longitude ranges show...

4 månader ago | 0

Answered
Spiral motion simulation in Simulink
Hi Josh, To generate a circular motion, you can try the following: In the initial state of 6 DOF block, set it so that it has ...

4 månader ago | 0

Answered
How to change UAV model to one selfmade
Hi, For Unreal Based Simulation, you can follow the custom actor workflow detailed in https://www.mathworks.com/help/uav/ug/pre...

5 månader ago | 0

Answered
Is there a way to simulate multiple uav in same unreal engine environment with different mission plan?
Hi Abhishek, you can use multiple Simulation 3D UAV blocks to add multiple UAVs into Unreal environment. You can use multiple UA...

5 månader ago | 0

Answered
code for UAV communication simulation
Hi, You can start with MAVLink protocol https://www.mathworks.com/help/uav/mavlink-support.html. It is a protocol used by PX4 a...

9 månader ago | 0

Answered
Cannot add 'custom' model with addMesh() as the only two options are 'polygon' and 'cylinder'
Starting from R2021a, user can use stlread to import stl files into MATLAB and use addMesh custom option to add the model into u...

11 månader ago | 0

| accepted

Answered
How to perform Obstacle Avoidance simulation with multiple waypoints using UAV Package Delivery and QGroundControl?
A similar question is answered in https://www.mathworks.com/matlabcentral/answers/1905201-uavpathmanagerbus-issue-in-the-3d-obst...

12 månader ago | 0

Answered
LiDAR integration in UAV simulation in Simscape Multibody
Hi Hoang, There is no direct way to transfer models from Simscape into Unreal editor. But if you already have CAD models, you c...

12 månader ago | 0

| accepted

Answered
UAVPathManagerBus issue in the 3D Obstacle Avoidance UAV Package delivery
Hi Tudor, I gave it a try to combine uavPackageDelivery/Multirotor (MultirotorModel)/Guidance Logic/Full Guidance Logic and th...

ungefär ett år ago | 0

| accepted

Answered
Comparison between different graphical simulation methods in Simulink
Hi Hoang, The following documentation should help you get started with customizing the Unreal scene and UAV: Scene customizati...

ungefär ett år ago | 0

| accepted

Answered
Scenario for UE4 UAV toolbox
There are two options: https://www.mathworks.com/help/uav/ug/customize-3d-scenes-for-automated-driving.html shows how to connec...

ungefär ett år ago | 1

| accepted

Answered
UAV Package Delivery Obstacle Avoidance issue
Hi Tudor, Here are a couple examples that might help you: https://www.mathworks.com/help/uav/ug/uav-obstacle-avoidance-in-simu...

ungefär ett år ago | 0

| accepted

Answered
How can I receive a Mavlink message through a UDP connection and read it separately and perform convert on it?
You'll need to create a function to process the payload: subscriber = mavlinksub(receiver,'GIMBAL_DEVICE_ATTITUDE_STATUS',... ...

ungefär ett år ago | 0

Answered
How can I detect in UAV scenario not only static meshes?
Hi Julian, The UAV Scenario Lidar works on platform as well. It might be the mounting location and mounting angle configuration...

mer än ett år ago | 1

| accepted

Answered
How to change the parameters in the Quadrotor Plant for a different UAV mass?
Hi, Instead of changing the PD gains on the block, you should increase the commanded thrust to drive a heavier UAV. For example...

mer än ett år ago | 0

| accepted

Answered
Why do i get this error STD exception 'class std::runtime_error': 'Failed to load bundle #876: C:\Program Files\MATLAB\R2022b\bin\win64\libmwgstreamerbuiltins.dll' was caught.
Hi Rahul, For the libmwgstreamerbuiltins.dll error, you can reach out to MATLAB tech support for further help (https://www.math...

mer än ett år ago | 0

Answered
Send MAVLink command with MATLAB
Hi Paolo, First the mavlink message needs to be refined: For arm UAV: cmd = dialect.createcmd("LONG", "MAV_CMD_CO...

mer än ett år ago | 0

| accepted

Answered
Develop PX4 custom controller without QGroundControl
Hi Paolo, There are two HITL examples related to your application: https://www.mathworks.com/help/supportpkg/px4/ref/hitl-simu...

mer än ett år ago | 0

Answered
How can I simulate a swarm of drones based on sensor input other that lidar
Hi William, Can the uavPlatform object be used to simulate a variable number of drones? A: You can put any number of drone...

mer än ett år ago | 0

| accepted

Answered
UAV Toolbox Support Package for PX4 Autopilots : Simulink FlightController Build Failed
Hi, I assume you are trying out the following example: https://www.mathworks.com/help/supportpkg/px4/ref/simulator-plant-model...

mer än ett år ago | 0

| accepted

Answered
visual navigation of a satellite during landing on the moon , creation of the lunar scenario and visualization via unreal engine
Hi Simone, You can create and use Unreal scene for Simulink following steps in https://www.mathworks.com/help/uav/ug/customize-...

mer än ett år ago | 1

| accepted

Answered
How do I 'connect' to a COM port when using mavlinkio 'connect' , only UDP port is documented
Hi Philip, Serial port connection is not supported out of box. You could use serialport object to exchange binary data and use ...

mer än ett år ago | 0

Answered
i am planning a rrt path using fixed wing uav state space, i want a smooth path can anyone tell what values of parameters to tweek?
The kinematic model used by Dubins path determines the turn radius using following equation based on coordinated flight conditio...

nästan 2 år ago | 0

Answered
I am getting a 3d path using rrt in Se3 statespace ,i ant to smoothen this path how can i do this?
https://www.mathworks.com/help/uav/ug/motion-planning-with-rrt-for-fixed-wing-uav.html may help you.

nästan 2 år ago | 0

Answered
uav package delivery example: question about stateflow chart "Guidance mode selector"
Hi Sander, The Pose(3) is the z value of the UAV pose in NED frame, meaning that Pose(3) is -altitude. The condition Pose(3) >=...

nästan 2 år ago | 0

Answered
Is it possible to add occupaied property to mesh in an uavScenario object?
Hi Massimo, The uavScenario currently doesn't support conversion to binary occupancy map. Thus the IsBinaryOccupied input is no...

nästan 2 år ago | 0

Answered
When I used my customize state space to perform navigation,the following errors occurs:
Based on your error message, it seems that at line 109 of your code myCustomUAVStateSpace, you assigned a scalar instead of the ...

nästan 2 år ago | 0

| accepted

Answered
I want to custom my statespace like the example"Motion Planning with RRT for Fixed-Wing UAV",but the following error occurs"Abstract classes cannot be instantiated."
Hi Wenjun, The error you received is about missing implmenetation in your state space class. In this example, the UAV state s...

nästan 2 år ago | 0

| accepted

Load more