Python Developer - Open Source Project Modification - Upwork

Modify the code of the project Mapleaf here : https://github.com/henrystoldt/MAPLEAF to allow the rocket : https://github.com/henrystoldt/MAPLEAF/blob/master/MAPLEAF/Examples/Simulations/Canards.mapleaf to point to a Waypoint instead of a Direction. In the file above, we need to add a new method for ControlSystem and change : ControlSystem desiredFlightDirection (0 0 1) # Define flight direction to reach/stabilize, in launch tower frame INTO : ControlSystem desiredWayPoint (50 50 500) # Define the coordinates of the waypoint to go You need to calculate after each iteration of the Controller the angle between the current coordinates (x,y,z) of the rocket and the waypoint (in our case : 50,50,500) and pass the angle to the Controller. Can you also display a graph showing the distance of the rocket to the Waypoint? Budget: $100 Posted On: June 25, 2024 08:52 UTCCategory: Full Stack DevelopmentSkills:Python, JavaScript, C++, API, PHP Skills: Python, JavaScript, C++, API, PHP Country: France click to apply

Modify the code of the project Mapleaf here : https://github.com/henrystoldt/MAPLEAF to allow the rocket : https://github.com/henrystoldt/MAPLEAF/blob/master/MAPLEAF/Examples/Simulations/Canards.mapleaf to point to a Waypoint instead of a Direction.

In the file above, we need to add a new method for ControlSystem and change :

ControlSystem
desiredFlightDirection (0 0 1) # Define flight direction to reach/stabilize, in launch tower frame

INTO :
ControlSystem
desiredWayPoint (50 50 500) # Define the coordinates of the waypoint to go

You need to calculate after each iteration of the Controller the angle between the current coordinates (x,y,z) of the rocket and the waypoint (in our case : 50,50,500) and pass the angle to the Controller.

Can you also display a graph showing the distance of the rocket to the Waypoint?

Budget: $100
Posted On: June 25, 2024 08:52 UTC
Category: Full Stack Development
Skills:Python, JavaScript, C++, API, PHP
Skills: Python, JavaScript, C++, API, PHP
Country: France
click to apply