Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Labview Simulator Issues (http://www.chiefdelphi.com/forums/showthread.php?t=111726)

ctccromer 21-01-2013 11:39

Labview Simulator Issues
 
1 Attachment(s)
So I have set up the simulator like this:

Plugged in our joystick via USB drive
Open RobotMain.vi
Changed the run location from the cRIO to MY Computer
Opened the driver station
Ran the code from the front panel of RobotMain.vi
enabled the robot from the driver station


When I clicked run, the simulation opened successfully and started to run.
The problem is that when I went to enable the robot, an error window popped up.

[Screen shot attached]

Can anyone give me some advice as to what to do?

Thanks:)

phynix 21-01-2013 12:16

Re: Labview Simulator Issues
 
Erm...assertions are just conditional statements (if/else) that crash the program if the condition is true. Assuming your code works fine in real life, I would defer you to this thread (https://groups.google.com/forum/?fro.../czsuczmquts); It seems to be an error in ODE (which is a C++ graphics library). The LabVIEW simulator was written in C++, using the ODE physics libraries.

Maybe try using the absolute simplest models in your program, and seeing if the problem still persists?

Greg McKaskle 21-01-2013 13:10

Re: Labview Simulator Issues
 
That is the first time I've seen that dialog. Is it repeatable? If so, the support folks may like a copy of what you've written and can help you get around the issue until it is resolved.

As mentioned, ODE is the Open Dynamics Engine, a game-quality physics engine that is integral to the simulation. Please contact technical support directly.

Greg McKaskle

sarah_storer 21-01-2013 15:45

Re: Labview Simulator Issues
 
Our code does work fine in real life...we've been shooting and driving all day...so I don't get what is wrong in the simulation...

Can you please explain again what an ODE is?

[I'm posting on a different profile because we were using a different computer earlier and I didn't feel like loging out of Chief Delphi]

Greg McKaskle 21-01-2013 19:20

Re: Labview Simulator Issues
 
The ODE in the dialog refers to ode.org. It uses the robot model information in the project and the forces that motors, gravity, and the like would exert on the elements in the simulator and computes how the elements would respond.

Other uses for it are as a physics game engine. If you were making a driving game and wanted to determine how fast the car would travel, how it would react when braking, when going up a hill, etc.

ODE is not used unless you are simulating. It isn't even loaded on the cRIO.

Greg McKaskle


All times are GMT -5. The time now is 02:14.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi