Closed KurtE closed 6 years ago
Again sorry that this maybe was just a random idea...
But in case you wish to take a look, I put the changes up at: https://github.com/KurtE/OpenCR/tree/Workbench_get_servo_info
Thank you for your contribution @KurtE :)
Your idea is quite practical. I will add next update and inform it to you.
This issue is closed after merge @KurtE branch to develop branch.
@routiful and @OpusK,
Note: I had left this project with the first level of changes with sources that did not include the later stuff that I changed in OpenCM9.04. I used the OpenCM9.04 version to main workbench as I liked it better and it helped reduce memory footprint.
But was waiting to verify if you liked it better or not...
So this morning I pushed up the changes to this fork/branch that made this project the same as the other two..
But not sure if you can now pick these changes up from here. Or should I sync up my develop branch, create new branch with these changes and request new PR?
Thanks Kurt
@routiful Update: I went ahead and did some quick updates and new PR for both OpenCM9.04 to update the header files in the released folder, plus update lib_f103.a...
I also did a PR for OpenCR to update the code to be the same as Dynamixel_Workbench project.
@OpusK @kijongGil @ROBOTIS-Will and others:
Probably should be opened against Dynamixel Workbench project, but issues often show up with programs written for OpenCR or OpenCM9.04...
There have been many issues raised up on the forum, like: http://en.robotis.com/service/forum_view.php?bbs_no=2406990&page=1&save_sca=&sca=&save_stx=&stx=&sfl=
Where the users (including myself) either don't find or misread the names of the items they can read, for the different types of servos.
Wish could simply have the user s_Monitor Dynamixel Workbench example app, and do a begin to start up, do a scan, and then do a command that prints out all of the valid string register names and current values.
One way to resolve this is to allow access to the ControlTableItem list... My quick hack was to add to dynamixel_workbench.h (class header)
To dynamixel_workbench.cpp I added:
Then to try it out I added an "info" command to the s_Monitor program I added a section to the processing of commands:
Then I did a test run with two XL430-w250 servos:
Note: s_Monitor - has other issues which has bit me, with the parameter parsing... That is if you do the commands:
The system will only find servo 1 in the scan, as the cmd[1] will not be overwritten and so scan will see the parameter 1 from the ping above...
In my version I have a few hacks which fix it, the simplest is in split function to do something like:
Again unsure if this is something anyone would be interested in and/or which project... If not feel free to close...