User Tools

Site Tools


lego_nxt_dynamixel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lego_nxt_dynamixel [2018/09/24 13:08] – [Controlling multiple Dynamixels] phamquyenanhlego_nxt_dynamixel [2018/09/24 13:10] (current) – [Controlling multiple Dynamixels] phamquyenanh
Line 240: Line 240:
 setMode(ID1, WHEEL, 0, 0); // set for Dynamixel ID1 run on wheel mode.// setMode(ID1, WHEEL, 0, 0); // set for Dynamixel ID1 run on wheel mode.//
    
-Now, send data to control every Dynamixel:+Now, send data to control each Dynamixel:
  
-//wheel(ID,RIGHT,1000);  Dynamixel ID turn right with   speed 1000//+//wheel(ID,RIGHT,1000);  Dynamixel ID run with   speed 1000//
  
-//wheel(ID1,RIGHT,300);  Dynamixel ID1 turn right with speed 300//+//wheel(ID1,RIGHT,300);  Dynamixel ID1 run with speed 300//
  
-After 2 line, Dynamixel with ID=91 will turn with speed 1000 and Dynamixel with ID=40 will turn with speed 300.+After this 2 line, Dynamixel with ID=91 will run with speed 1000 and Dynamixel with ID=40 will run with speed 300.
 <code c MultipleDynamoixel.c> <code c MultipleDynamoixel.c>
 #include "Dynamixel.h" #include "Dynamixel.h"
lego_nxt_dynamixel.txt · Last modified: 2018/09/24 13:10 by phamquyenanh