}We have repeated checked to insure the motors were plugged into the correct ports. What are we missing?

_________________In theory, theory and practice are the same. In practice, they aren't. - Yogi Berra

Mon Nov 05, 2012 2:42 pm

JohnWatson

Site Admin

Joined: Thu May 24, 2012 12:15 pmPosts: 722

Re: nSyncedMotors sample code not working

We have tested the code in ROBOTC 3.54 and were unable to replicate the problem. Which version of ROBOTC are you using? If it's not the most recent version, I would suggest updating ROBOTC first and then retest the code to see if that solved the issue.

I have a similar problem. Before installing virtual worlds pid mode and nsync mode worked for my robot.

After installing virtual worlds, sync does not work in the virtual world. One wheel turns. Sync seems ok on my real robot.

However now pid does not work on my real robot.

Robotc3.54

Tue Nov 13, 2012 9:44 pm

robuff

Rookie

Joined: Thu Oct 18, 2012 5:50 pmPosts: 2

Re: nSyncedMotors sample code not working

We are on 3.51. It appears to be working now, I am not sure what changed. One learning was that you need to set the motor value after changing the turn ratio. However, I think the example code was doing that, so I'm not sure what the problem was.

_________________In theory, theory and practice are the same. In practice, they aren't. - Yogi Berra

Wed Nov 14, 2012 5:27 pm

tfriez

Site Admin

Joined: Wed Jan 24, 2007 10:42 amPosts: 620

Re: nSyncedMotors sample code not working

Sync Motors does not apply to the virtual worlds, only physical robots.

Who is online

Users browsing this forum: No registered users and 2 guests

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