Darwinbots Forum
Code center => Bugs and fixes => Solved Bugs => Topic started by: Testlund on October 27, 2005, 07:22:38 PM
-
You have posted some solution for this one:
rob(n).mem(refvelup) = (rob(o).vx * Cos(rob(n).aim) + rob(o).vy * Sin(rob(n).aim) * -1) - rob(n).mem(velup)
...on the wikipedia. Right now I can't access that page. I'm not sure exactly where to put the fix. Some lines of code should be put at the beginning of the rutine, right? Where exactly is the beginning and should all those codes in thick black text be put there? :wacko:
-
You have posted some solution for this one:
rob(n).mem(refvelup) = (rob(o).vx * Cos(rob(n).aim) + rob(o).vy * Sin(rob(n).aim) * -1) - rob(n).mem(velup)
...on the wikipedia. Right now I can't access that page. I'm not sure exactly where to put the fix. Some lines of code should be put at the beginning of the rutine, right? Where exactly is the beginning and should all those codes in thick black text be put there? :wacko:
the fix didn't work anyway.
somewhere here, in some thread, in some message ....
or in a number of threads, messages ...
there was a solution put forth ...
but it doesn't work for me.
hell ... I can't even find it again!
your on your own bud.
-
There's always the classic:
Dim temp as long
temp = (rob(o).vx * Cos(rob(n).aim) + rob(o).vy * Sin(rob(n).aim) * -1) - rob(n).mem(velup)
if abs(temp) > 32000 then temp = sgn(temp) * 32000
rob(n).mem(refvelup) = temp
If a bit homely.
-
Another velocity bug. Fixed in v2.35.
thread moved to "fixed bugs"