Thank you for this information,
i will download it
Type: Posts; User: dreamvig
Thank you for this information,
i will download it
thanks i will see
my question was , the function in above (using chrono or boost) is it the unique idea of solution to resolve my problem of calculating the time.
The re is no solution, just to upgrade?
because i don't have visual 2012 , and i can't update my visual 2010
Yes , i tried to do that adding this include
#include <boost/chrono.hpp>
but it give me fatal error, maybe because i use Ogre3d that have file "boost" too
Hi,
it was time i put my problem with calculating time of function
http://cboard.cprogramming.com/cplusplus-programming/167118-claculate-time-function-2.html
after progress with the code the...
Hi,
i want to garantie that i good understand the code
so, In the main()
- length : is it the distance between the point and the traget ?
prev.x = (double)rand() / (double)RAND_MAX * 2.0 -...
Thank you
i am reading it carefully, and i will come back
thanks again
Hi
thanks very much for your repling
Yes , it will be very usefull if you give me an exemple with c function
i will excute it step by step to more understand.
thanks a lot you saved my...
when you say iit's simple i say oh i am stupid or what:biggrin:
i read it many times (the first time in 2011!!!) and always i could not understand it
Really? are you talking about the algoeithme 2 and 3 :confused:, because it's true the first algorithm -the principle algorithm- is very simple and i implement it
i am speaking about the second...
Hi,
i am not very good in geometric algebra and i have to implement an algorithme that i have her description and her pseudo code
i will put it here an if somone can help me -not doing the code...
no it's not but we can use it in mechanical engineering
In fact i get the answer
as i see , i must apply the "joint limits algorithm" in ech iteration and in each time i calculate new joint
With this code i can get the "real" time?
can you please explain to me why without loop it does not work, and why i must use loop and excute many time the same code
what you mean here ?
did you mean i run my app several time ? because i made that and always i get "0.000"
but i what i need is just the run time of my function , if i get 0 many time
i can't write it
I used this
clock_t start, stop;
start = clock();
//
// block of instruction that i want calculate it's running time
//
Hi,
i used the clock_t to calculate the run time of another function
i get "0 seconde"?
i say maybe it's in millysecond
i used
cout << (double(clock() - timestart) / CLOCKS_PER_SEC) *...
Thanks for the reply, but how we disable this frequency ?
Hi,
in fact my question not exactelly in c++, but i want idea in algorithm
i have kinematic chain with 5 joints
i apply specific IK, that claculate new position if the joints (and not tge angle...
Tahnks for your reply
Hi,
i have two object while
whe have the position of object1, pos1=(0,-42,0)
for the object2 we have it's displacement vector relative to object1
(0,-43,0)
how we get the distance between...
Ah ok thank
sorry i did not understand what you mean here ?
understood thank you
i thought that my problem is resolved
just i have remark ,i am not sure if it's normal or no
when i run my example i get 2.80 sec
when i run it again (just after the first...