logo logo
Home arrow Forums...
Saturday, 11 February 2012
 
 
Main Menu
Home
Conscious Machines...
AI Techniques...
Neuroscience...
Researchers...
Publications...
Reviews...
MC Bibliography
Robotics Studio...
Forums...
Blog...
Frontpage
Upcoming Events
22.Feb. 2012

CogSys 2012
Vienna, Austria
04.Apr. 2012

TSC 2012
Tucson, Arizona
17.May. 2012

EAIS 2012
Madrid, Spain
05.Jun. 2012

Cognition & Consciousness
Menorca. Spain
02.Jul. 2012

ASSC 16
Brighton, UK
02.Jul. 2012

Revisiting Turing and his Test
Birmingham, UK
31.Oct. 2012

BICA 2012
Palermo. Italy
Tag Cloud
Associations Books Conferences Conscious Conscious Machines Consciousness Developer Documentación Documentation Español Machine Machine Consciousness Machines Neuroscience Positions Publications Research Researchers Reviews Robotics Robots Spanish Studio VPL
Spotlight
More
Reader's Preferred
MCexperts List
FAQs
Glossary
Site Map
 
Conscious-Robots.com Forum  


carlcs
User

Expert Boarder
Posts: 20
graphgraph
Karma: 1  
logged differential drive - 2008/10/12 01:35 i was able to get my logged sonar service to work. it's stupid but what i did was modify the simulated sonar so that every time it gets new readings, it will read the next line in the file. hehehe...

so, i was trying to make the same thing for the simulated differential drive. in the mapping service i'm using, it uses a drive listener to listen for updates and then gets the pose and orientation from the drive state to display it in a window where the map is like so

using drive = Microsoft.Robotics.Services.Drive.Proxy;
.
.
.

public void UpdateDriveData(drive.DriveDifferentialTwoWheelState data)
{
labelDebug.Text = data.LeftWheel.MotorState.Pose.Position.X + ", " + data.LeftWheel.MotorState.Pose.Position.Z + "," data.LeftWheel.MotorState.Pose.Orientation.W;
}

so, i looked for the file where the namespace Microsoft.Robotics.Services.Drive.Proxy. strangely enough, the file i have does not have any pose or orientation updates. so what i did was take the simulatedifferentialdrivett from the explorer sim sonar to add the pose part, added the log reading part and then used that for the window. unfortunately, this error appeared.

The type or namespace name 'DriveDifferentialTwoWheelState' does not exist in the namespace 'LoggedDifferentialDrive.Simulation.Drive.Proxy' (are you missing an assembly reference?)

which is strange because i have the assembly reference already. it's the same even if i used the simulateddifferentialdrivett.

so, if i were to do a similar approach to the on with the logged sonar sensor, where i just modified the simulatedsonar so that every raycast, a new line will be read from the file, how will i do this with the differential drive.

i'm at wits end already. i haven't even slept yet. hahaha...
  The administrator has disabled public write access. Please, register to participate in the forum.

      Topics Author Date
    thread link
logged differential drive
carlcs 2008/10/12 01:35
    emo
thread linkthread link Re:logged differential drive
Raúl 2008/10/12 13:42
    thread link
thread linkthread linkthread link Re:logged differential drive
carlcs 2008/10/12 17:05





Lost Password?
No account yet? Register
 Conscious Robots RSS FeedConscious Robots RSS Feed

Find us on Facebook

Follow us on TwitterFollow us on twitter
Spotlight

Machine Consciousness Bibliography Database

 

ConsScale
The Cognitive Machine Consciousness Scale

 
Last Posts in Forum
 
CR
miel continental