View unanswered posts | View active topics It is currently Tue Sep 23, 2014 8:57 pm






Reply to topic  [ 6 posts ] 
ratslam problem ! 
Author Message
Rookie

Joined: Tue Jul 17, 2012 5:57 am
Posts: 5
Post ratslam problem !
I am trying to use the code by the below mentioned author and getting the following warnings. the cose is not functioning as it should ! Please Help



/////////////////////////////////////////////////////////////////////////////////
// Title:- Pose Cells and local view combined
// Author:- Lachlan Smith (RobotC)
// Mark Wakabayashi (Java version)
// Michael Milford (original algorithim/c code)
// Purpose:- This is implementing pose cells and local cell together
//


*Warning*:Unreferenced struct 'localViewCell'
**Info***:'weightVarianceXY' is written but has no read references
**Info***:'weightVarianceTheta' is written but has no read references
**Info***:'weightScaleFactor' is written but has no read references
**Info***:'poseEstimationRadius' is written but has no read references
*Warning*:Unreferenced variable 'position'
**Info***:'encoderX' is written but has no read references
**Info***:'encoderY' is written but has no read references
**Info***:'encoderTheta' is written but has no read references
*Warning*:No indices specified for array variable 'poseActivity'
*Warning*:No indices specified for array variable 'poseActivity'
*Warning*:No indices specified for array variable 'poseActivity'
*Warning*:Unreferenced function 'displayMax'
*Warning*:No indices specified for array variable 'localView'
*Warning*:No indices specified for array variable 'localView'
**Info***:'currentTheta' is written but has no read references


Sun Jul 22, 2012 2:19 pm
Profile
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: ratslam problem !
Could you post the code?

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.


Sun Jul 22, 2012 2:26 pm
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3223
Location: Rotterdam, The Netherlands
Post Re: ratslam problem !
Yeah, magically inferring code on the basis of errors is a trick we're working on, but until we've perfected the art, I'm afraid you're going to have to attach the code you're having trouble with.

Thanks,
Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Jul 22, 2012 2:29 pm
Profile WWW
Rookie

Joined: Tue Jul 17, 2012 5:57 am
Posts: 5
Post Re: ratslam problem !
this is the main file


Attachments:
ratSLAM2.c [32.07 KiB]
Downloaded 115 times
Sun Jul 22, 2012 2:52 pm
Profile
Rookie

Joined: Tue Jul 17, 2012 5:57 am
Posts: 5
Post Re: ratslam problem !
http://code.google.com/p/rsnxt08/source ... Superseded


Sun Jul 22, 2012 2:53 pm
Profile
Expert

Joined: Tue Feb 28, 2012 3:10 pm
Posts: 195
Post Re: ratslam problem !
with no documentation for that project, good luck. There are 14+ versions of a file which would be a terrible use of subversion.

I loaded "ratSLAM_14.c" and it compiled with a few warnings, but no errors. Since it includes a few other files, you need to load it from the full directory you checked out with subversion.

I have never seen a slam implementation for the NXT. It would be an interesting project to know more about, but I do not see a link to any more information. Where did you hear about it from?

Actually I changed the code a little, to match my bot, and it seems to be doing stuff - wow. Anyhow, that seems to be a pretty advanced SLAM; http://itee.uq.edu.au/~milford/Mapping/Mapping.html

Im hoping to get something a little simpler working, but it looks like real good code to look at to see how they did some things.

_________________
Mike aka Spiked3
http://www.spiked3.com


Sun Jul 22, 2012 4:04 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.