Go to Post There are NO old, bold electrical engineers! - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2013, 11:39
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Labview Simulator Issues

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
Attached Thumbnails
Click image for larger version

Name:	II.PNG
Views:	79
Size:	1.48 MB
ID:	13600  
  #2   Spotlight this post!  
Unread 21-01-2013, 12:16
phynix phynix is offline
Registered User
FRC #3130 (ERRORs)
Team Role: Programmer
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Minnesota
Posts: 16
phynix is an unknown quantity at this point
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?
  #3   Spotlight this post!  
Unread 21-01-2013, 13:10
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
  #4   Spotlight this post!  
Unread 21-01-2013, 15:45
sarah_storer's Avatar
sarah_storer sarah_storer is offline
Georgia Tech RoboJackets Outreach
AKA: Sarah Storer
FRC #5332 (Toaster Tech)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Atlanta, GA
Posts: 147
sarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to behold
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]
__________________

TEAM 3753 BULAH BOTS ALUMNI
2012-2015: Code, pneumatics, and electrical for BULAH BOTS Team 3753
2013: Bayou Regional 1st seed alliance captain and regional winners (With 118 and 4589)
2014, 2015: Bayou Regional semi-finalist
2016-?: Mentor for TOASTER TECH Team 5332
2016: Columbus District 3rd seed alliance captain, semi-finalist; Kennesaw District 3rd seed alliance 1st pick, semi-finalist; Peachtree District State Championship 4th seed alliance captain, quarter-finalist, Industrial Design Award, World Championship qualification
  #5   Spotlight this post!  
Unread 21-01-2013, 19:20
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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