Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add task generation guidelines #218

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { taskGenerationGuidelines } from '@Constants/createProject';

export default function GenerateTask() {
return (
<div className="naxatw-px-10 naxatw-py-5">
Expand All @@ -6,6 +8,19 @@ export default function GenerateTask() {
Split the task into smaller chunks based on the given dimensions to
ensure more efficient and precise data collection and analysis.
</p>
<br />
<div>
<p className="naxatw-mt-2 naxatw-text-body-md">
{taskGenerationGuidelines?.title}
</p>
<ol className="naxatw-flex naxatw-list-decimal naxatw-flex-col naxatw-gap-1 naxatw-px-2 naxatw-py-2">
{taskGenerationGuidelines?.guidelines?.map(item => (
<li key={item} className="naxatw-text-left naxatw-text-body-md">
{item}
</li>
))}
</ol>
</div>
</div>
);
}
21 changes: 21 additions & 0 deletions src/frontend/src/constants/createProject.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,24 @@ export const keyParametersInfo = [
'The Digital Elevation Model (DEM) file that will be used to generate the terrain follow flight plan. This file should be in GeoTIFF format',
},
];

export const taskGenerationGuidelines = {
title: `When setting up your task area, please consider the following
recommendations based on the equipment and parameters used by the drone
operators:`,
guidelines: [
`If the drone operators are using the RC2 controller with the terrain
following parameter, it's recommended to create a square with dimensions
up to 300 meters, covering approximately 0.1 km².`,
`If the drone operators are using the RC-N2 controller with the
terrain following parameter or the RC2 controller without the terrain
following parameter, create a square with dimensions up to 550 meters,
covering approximately 0.3 km².`,
`If the drone operators are using the RC-N2 controller without the
terrain following parameter, the recommended square dimensions are up to
700 meters, covering approximately 0.5 km².`,
],
conclusion: `These guidelines will help ensure that your task area is appropriately
sized based on the drone equipment and parameters being used. This will
also reduce the chances of RC lagging while flying the drone.`,
};