09-23-2022, 11:03 AM
I have a small metal robot running off MG996R servos controlled using a teensy 3.2 micro controller.
The driver and post processor both work to control the robot on their own, outside the robodk environment.
The robodk code also works if I right click on the program I have created and select to 'generate a robot program', if i paste the generated contents into my serial monitor and send it to the robot, it works to move the robot.
However, when I enter the com port used and select to connect to a robot, (with the driver and post processor selected correctly). Robodk connects to the driver because the connection says 'working....' but in the log each command I try to run it just says 'sending command...' but then doesn't execute on the robot itself.
Any ideas? I have proved the driver works and the robodk program works when generated and externally uploaded to the robot via serial monitor but when trying to connect and run the program in 'real time' there is no action on the robot.
The driver and post processor both work to control the robot on their own, outside the robodk environment.
The robodk code also works if I right click on the program I have created and select to 'generate a robot program', if i paste the generated contents into my serial monitor and send it to the robot, it works to move the robot.
However, when I enter the com port used and select to connect to a robot, (with the driver and post processor selected correctly). Robodk connects to the driver because the connection says 'working....' but in the log each command I try to run it just says 'sending command...' but then doesn't execute on the robot itself.
Any ideas? I have proved the driver works and the robodk program works when generated and externally uploaded to the robot via serial monitor but when trying to connect and run the program in 'real time' there is no action on the robot.