질문 하시기 전에 검색을 통해 원하는 질문/답변 내용을 찾아봐주세요.

how to write an instruction packet for reading present position in RX-64

조회 수 1080 추천 수 0 2010.08.03 13:29:53
aditya *.172.226.121

i have a dynamixel RX-64

i want to know how to write an instruction packet for reading present position in RX-64

help please

thks


댓글 '4'

MikeG

2010.08.03 22:13:18
*.99.244.218

The ReadData instruction is published in the RX-64 manual http://www.robotis.com/xe/?mid=download_en&page=2&document_srl=20605.


In order to write the instruction for you we need to know the RX-64's ID but you should read the manual.

aditya

2010.08.04 10:43:16
*.172.226.121

i've read the manual. It worked for reading the model number, firmware number, temperature, voltage, and many other.. But it didn't work for reading the present position, present speed, and present load..


I wrote the instruction in this form:

FF FF 01 04 03 24 02 D1


And i don't understand the status packet, it had no correlation to the actual position.

Please help.. I bought the dynamixel RX-64 because of this feature, and now i don't know what to do..

Thanks..

[레벨:30]ROBOTIS

2010.08.04 10:46:48
*.112.9.210

Hi Aditya,

 

Please refer to the link below for more information on the instruction packet.

http://support.robotis.com/en/techsupport_eng.htm#product/dynamixel/communication/dxl_packet.htm

 

The current position reads 0x24 and the sent packet is FF FF 01 04 02 24 02 D2

 

ROBOTIS

MikeG

2010.08.05 00:10:02
*.99.244.218

Aditya,

The present position is a 2 byte value that starts at address 0x24.  The status packet return low (0x24)-high(0x25) byte.  You must assemble the bytes correctly in your client application. 


I positioned an RX-64 at 756 then executed FF FF 01 04 02 24 02 D2 the status packet returned is

FF FF 01 04 00 F6 02 02


Low byte = F6

High byte = 02


Therefore, 02F6 = 758.  I'm two digits off because I sent the motor to 756 at the fastest possible speed and my compliance setting allow this buffer.


Please see the RX-64 manual and the link provided.


문서 첨부 제한 : 0Byte/ 2.00MB
파일 제한 크기 : 2.00MB (허용 확장자 : *.*)
List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 [ROBOTIS] Please read before posting questions. ROBOTIS 2012-02-07 3719
410 Problem with RoboPlus Motion imagefile [5] Sleven 2010-10-02 920
409 Problem with Wireless Camera [2] uetvnu 2010-10-01 2102
408 RX-28 Controller [5] Andrés 2010-09-29 909
407 Zigbee <- -> PC [1] Hanni 2010-09-22 884
406 Question abou type of command?? [1] SAKIS 2010-09-21 788
405 Zigbee's RX problem [1] swxn 2010-09-15 762
404 Wireless PC connection with Premium Kit [3] Paul 2010-09-14 2369
403 A few questions, if anyone is bored enough to explain. [1] matt 2010-09-11 810
402 more advance moves/dance for Expert kit CM-5 [3] Mauricio 2010-09-01 1093
401 High Torque AX 12 in endless turn [3] taufik 2010-08-31 1168
400 Gyrostabilized camera platform [1] Koen 2010-08-23 892
399 [AX-12+] Power loss and fail to follow correct goal position [1] 김승아 2010-08-20 768
398 extra zeros in status packet and dropped 0xFF byte [5] MTR 2010-08-14 998
397 [EX-106] Pose Utility [1] Customer 2010-08-12 836
396 Problem connecting with RS485 serial port [1] Ugo 2010-08-05 1087
» how to write an instruction packet for reading present position i... [4] aditya 2010-08-03 1080
394 Problem with CM-510 [5] Rami 2010-08-02 1159
393 [HELP] dynamixel RX-64 transfer function [1] dhona 2010-08-02 1007
392 How to program CM2+ using MATLAB? [3] lokesh sardana 2010-08-01 984
391 Multiple motors detection problem [1] Rami 2010-07-29 948

XE Login