Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i in range(len(dist_list)): # Iteriere über alle Laser Messwerte und transformiere sie auf den Partikel
- dist = dist_list[i]
- alpha = alpha_list[i]
- partikel_theta = partikel[2]
- if dist is None:
- continue
- partikelBeamX = partikel[0] + dist * cos(alpha + partikel_theta)
- partikelBeamY = partikel[1] + dist * sin(alpha + partikel_theta)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement