Bad call to API error
- Obidah Alawneh
- Posts: 25
- Joined: Wed Sep 23, 2020 11:36 am
Bad call to API error
What does this error mean? and how can it be fixed?
- Attachments
-
- ERRORFB.JPG (211.89 KiB) Viewed 593 times
- Jacob J. Banks
- Posts: 97
- Joined: Tue Jul 15, 2014 5:17 am
Re: Bad call to API error
It's pretty difficult for me to say without knowing what your doing/running.
Jake Banks
Jake Banks
- Obidah Alawneh
- Posts: 25
- Joined: Wed Sep 23, 2020 11:36 am
Re: Bad call to API error
I created a motion file using the motion file from arm 26 as a guide, and then tried to run static optimization using that motion.
The time goes from 0 to 0.1 in a 0.001 increase per step.
The motion loads fine, but when running the StOP I get this error!
Thanks,
Obidah Alawneh
The time goes from 0 to 0.1 in a 0.001 increase per step.
The motion loads fine, but when running the StOP I get this error!
Thanks,
Obidah Alawneh
- Jacob J. Banks
- Posts: 97
- Joined: Tue Jul 15, 2014 5:17 am
Re: Bad call to API error
I would need to see the .mot, setup file, actuators file, and model.
By 'loads fine' do you mean you can get it to manipulate the model?
Jake Banks
By 'loads fine' do you mean you can get it to manipulate the model?
Jake Banks
- Obidah Alawneh
- Posts: 25
- Joined: Wed Sep 23, 2020 11:36 am
Re: Bad call to API error
Yes that is what I mean by loads fine.
I'm going to attach the motion file. The model is the male full body model that was created by your team.
Also, I am currently running a Static Optimization on a different motion file, I grt a message that says "time=0.11667 Performance=8.86405 Constraint violation=1811.56" is that normal or does that mean there is something wrong? See image attached.
Thanks for your help,
Obidah Alawneh
I'm going to attach the motion file. The model is the male full body model that was created by your team.
Also, I am currently running a Static Optimization on a different motion file, I grt a message that says "time=0.11667 Performance=8.86405 Constraint violation=1811.56" is that normal or does that mean there is something wrong? See image attached.
Thanks for your help,
Obidah Alawneh
- Attachments
-
- optimization failed.JPG (40.99 KiB) Viewed 552 times
-
- SEATED_MOTION_ONEFRAME.mot
- (37.46 KiB) Downloaded 28 times
- Jacob J. Banks
- Posts: 97
- Joined: Tue Jul 15, 2014 5:17 am
Re: Bad call to API error
Your .mot file had some little errors in it. It had the incorrect number of rows (should be 101), an extra/redundant L4/L5 AB column (I think that was the column), and blank values in the ankle coordinates. The latter error is what caused things to really crash. I could tell something was wrong prior to SOpt, in as our .mot file wouldn't play.
I also made an actuator file, and saved my SOpt setup (so you can just load it, but you will have to find the correct paths for your computer).
You don't need 101 rows for this sim. I think 2 would do, but 5-10 to be safe.
Jake Banks
I also made an actuator file, and saved my SOpt setup (so you can just load it, but you will have to find the correct paths for your computer).
You don't need 101 rows for this sim. I think 2 would do, but 5-10 to be safe.
Jake Banks
- Attachments
-
- test2.zip
- (135.7 KiB) Downloaded 31 times
- Obidah Alawneh
- Posts: 25
- Joined: Wed Sep 23, 2020 11:36 am
Re: Bad call to API error
Thank you so much, it is working as needed!
Really appreciate your help!
Really appreciate your help!