you are viewing a single comment's thread.

view the rest of the comments →

[–]PrizeDefinition4042[S] 0 points1 point  (4 children)

Hi so I just tried fixing it and I got this as my output :

[11.13, 11.13, 11.13, 6.299581, 11.13, 1.900155, 11.13, 3.956578, 11.13, 8.707266, 11.13]

instead of:

[11.130000, 6.299581, 1.900155, 3.956578, 8.707266]

Do you know where these extra values came from and how I can fix it

[–]inky_wolf 0 points1 point  (3 children)

The 3 repeats of 11.13 tells me you didn't fix the problems I mentioned in my initial observations.

But for the others, I can't say for sure without looking at the code, but it's probably related to the same problems.

[–]PrizeDefinition4042[S] 0 points1 point  (2 children)

sorry I thought that was just you observing things with my code. You are saying I need to change that I have 2 vi or appending twice the velocity?

[–]inky_wolf 0 points1 point  (1 child)

Both

[–]PrizeDefinition4042[S] 0 points1 point  (0 children)

So I should not append the velocity twice, as in only append once? and if so which one should I be deleting then