LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-11-2005, 09:43 PM   #1
shegay18
LQ Newbie
 
Registered: Jun 2005
Posts: 12

Rep: Reputation: 0
Question C simulation


I'm currently into developing a linux-based robot simulation software exclusively in C. I do have 2 modules - math part & GUI part. do you have any suggested libraries (besides standard C libs in linux and MESA lib for the gui) that i could possibly use for the modules? any suggestions for the development of the software would be very much appreciated.
 
Old 06-12-2005, 02:14 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
Math: it depends how many operation you need and if you need something to make matrix operations easier, for example. There are such libraries, but they have usually one spacial purpose, so you need to define what you need.

GUI: For GUI in C, go for GTK, one of the standard libraries to build GUI. It has a program to "draw" your interface - glade.
 
Old 06-12-2005, 05:34 PM   #3
shegay18
LQ Newbie
 
Registered: Jun 2005
Posts: 12

Original Poster
Rep: Reputation: 0
yup i will be handling some dynamic matrices and applying intensive trigonometry in my math part, actually i'll be impkementing dynamic kinematics. Could i possibly implement them using the C standard libraries alone or are there better libraries that could make it easier?
 
Old 06-13-2005, 03:04 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
There are really many different libraries, but matrix calcualtions are usually written for C++ than C. For trigonometry you can probably stay with standard C (if pecision is OK for you). Other things you can find for example here: http://www.usinglinux.org/math/
 
Old 06-14-2005, 07:49 AM   #5
shegay18
LQ Newbie
 
Registered: Jun 2005
Posts: 12

Original Poster
Rep: Reputation: 0
yup i agree

well, i'm kinda required to develop the software in C so i have to optimize all my resources. i definitely agree with you regarding C++. thanks for the help! juz in case you got any suggested sites for the development of the software, i would really be thankful. just so u know, i'm into developing a 5 dof robot arm simulation software which kinda includes intensive math and challenging graphics in linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing a simulation? NCC-1701&NCC-1701-D Programming 5 06-13-2005 03:00 AM
LcdDisplay simulation chrisstooss Linux - Software 2 05-28-2005 04:44 PM
Ossiloscope simulation software... TanelValdna Linux - Software 3 09-09-2004 01:28 PM
Simulation progam AquamaN Programming 2 03-15-2004 07:26 PM
Wake-On-Lan Simulation? Breezwell Linux - Networking 9 07-08-2001 01:09 PM


All times are GMT -5. The time now is 10:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration