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

fixed waypoints_to_spline_commands #31

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

applepie7864
Copy link
Contributor

No description provided.

Copy link
Contributor

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed.

modules/waypoints_to_spline_commands.py Outdated Show resolved Hide resolved
modules/waypoints_to_spline_commands.py Outdated Show resolved Hide resolved
Xierumeng
Xierumeng previously approved these changes Dec 1, 2023
Copy link
Contributor

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@Xierumeng Xierumeng dismissed their stale review December 1, 2023 07:31

Formatting fixes

Copy link
Contributor

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed.

tests/test_waypoints_to_spline_commands.py Outdated Show resolved Hide resolved
tests/test_waypoints_to_spline_commands.py Outdated Show resolved Hide resolved
Copy link
Contributor

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed.

tests/test_waypoints_to_spline_commands.py Outdated Show resolved Hide resolved
tests/test_waypoints_to_spline_commands.py Outdated Show resolved Hide resolved
Copy link
Contributor

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed.

Comment on lines 19 to 20
waypoints,
altitude
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be intended by 1 more than result, ... = . See test_waypoints_names_to_coordinates.py for an example.

result, commands_actual = waypoints_to_spline_commands.waypoints_to_spline_commands(
waypoints,
altitude
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be at the same indentation level as result, ... = . See test_waypoints_names_to_coordinates.py for an example.

Comment on lines 39 to 41
waypoints,
altitude
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

Copy link
Contributor

@Xierumeng Xierumeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed.

altitude = 100

result, commands_actual = waypoints_to_spline_commands.waypoints_to_spline_commands(
waypoints,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra space after the comma.


result, commands_actual = waypoints_to_spline_commands.waypoints_to_spline_commands(
waypoints,
altitude
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add comma at end of this line.

Comment on lines +39 to +40
waypoints,
altitude
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants