- April 8, 2014 at 1:57 pm #1059January 21, 2015 at 1:46 pm #1610
Is there a way for the user to control the speed of each individual track of the HD2 robot? I am using the WiFi control package interface program (WiFi ATR 3.4.0 .NET application) to communicate with the robot, and its robot command message contains only one byte for moving forward/reverse and another byte for steering to the left/right. I would like to control the motion of the robot by sending the left and right track speeds (or motor powers) to the robot. Thanks.January 21, 2015 at 2:01 pm #1611
Motor mixing is handled on the robot side. It’s expecting a drive and turn value. As built you will not be able to send individual speed commands to the motors.January 21, 2015 at 3:01 pm #1612
Then, is there a way to tune or adjust the parameters of the motor mixing running on the HD2 robot? When it is commanded to move straight forward, the left track of my robot moves much slower than its right track (left travels only ~8.72 inches for every 10 inches by the right). This results in a continuous drifting and rotation to the left, and makes it very diffcult to drive along a hallway without hitting the wall every few meters. I was thinking of controlling the individual track’s speed to compensate the difference. Thanks.January 21, 2015 at 3:24 pm #1613
The robot performs the action it is commanded. If it’s pulling slightly to one side you could apply an open loop correction factor by proportionally applying a turn value to even it out.
Alternatively, your robot did come equipped with encoders so you could apply a PID controller to keep the robot driving completely straight.January 21, 2015 at 3:44 pm #1614
As a side note, your HD2 should not be pulling significantly and should drive straight even without PID or control adjustment… Make sure the tracks and chains are tensioned properly and that both motors are on each side are working.January 21, 2015 at 6:10 pm #1615
Our technicians have checked the tracks and chains of the robot and they are all functioning properly. For some unknown reasons, the track (or motors) on the left moves much slower than the one on the right side. To keep the vehicle moving straight forward, I have to steer it a lot to the right continuously (i.e. applying a turn=’+9′ command).February 15, 2016 at 5:45 pm #2945AbdelhadiParticipant
Besides the standard ways and kits provided to control this robot,is there any other way like a library or SDK or available API, maybe just access to control robot from other computers available ? Is there anyway to create one ?February 16, 2016 at 9:01 am #2946
All our WiFi Robots can be controlled by any windows PC or tablet. We provide the .NET source with the purchase of a WiFi control package. The control is a simple serial protocol over TCP/IP. It can easily be ported into you own custom program as long as the same packet of data is sent to the WiFi controller, it will work no problem. If you get a programable Wi-Fi control package, you can change the protocol, etc. and customize it even further. If you want us to develop a specific application, we can do that too.
You must be logged in to reply to this topic.