Skip to content

Conversation

@pascal-meyer01
Copy link

No description provided.

String name = tokens[i];
float value = tokens[i + 1].toFloat();

if (name == "a") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Kann das arduino-SDK strings mit == vergleichen? In C geht das nicht, da braucht man typischerweise strcmp(name, "a") == 0

Comment on lines +312 to +315
if SIN:
isect = intersect_line_with_surface(plane_param, mean, normal)
else:
isect = intersect(plane_abcd, mean, normal)
Copy link
Collaborator

Choose a reason for hiding this comment

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

hier geht auch
isect = intersect_line_with_surface(plane_param, mean, normal) if SIN else intersect(plane_abcd, mean, normal).

evt. Geschmackssache, sonst ist python aber so indentation-abhängig...

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