RoboRun with radio transmiter
9 years 4 months ago #29528599
by Critt
RoboRun with radio transmiter was created by Critt
Hello,
My problem:
I connected a HBL1650 controller with a radio module (AMB8355 Amber).
To have a correct transmission, I add character 13 & 10 at the controls command.
For my software, no problem everything works.
But for RoboRun software that does not work directly.
So I did a software "intermediate" which adds me #13 + #10 for the radio module transmits the order.
At the start of RoboRun it is transmitted character 5 and controller responds 6, but RoboRun not go any further.
Any idea?
Thanks
Sorry for Google traduction ;-(
My problem:
I connected a HBL1650 controller with a radio module (AMB8355 Amber).
To have a correct transmission, I add character 13 & 10 at the controls command.
For my software, no problem everything works.
But for RoboRun software that does not work directly.
So I did a software "intermediate" which adds me #13 + #10 for the radio module transmits the order.
At the start of RoboRun it is transmitted character 5 and controller responds 6, but RoboRun not go any further.
Any idea?
Thanks
Sorry for Google traduction ;-(
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 4 months ago #29528600
by Griffin Baker
Replied by Griffin Baker on topic RoboRun with radio transmiter
In the Run tab, can you see your pulse inputs provide values under pulse inputs on the top right section of that tabs browser?
If you mute the serial by checkmarking the check box to the left of the slider, does the pulse led status come on?
If you mute the serial by checkmarking the check box to the left of the slider, does the pulse led status come on?
Please Log in or Create an account to join the conversation.
9 years 4 months ago #29528601
by Critt
Replied by Critt on topic RoboRun with radio transmiter
Accuracy:
I do the controller operates with commands by connecting PC with serial :
PC+RS232 <-> RADIO .... RADIO <-> Robotek HBL1650
My software works well.
Only RoboRun do not see the controller at startup.
I do the controller operates with commands by connecting PC with serial :
PC+RS232 <-> RADIO .... RADIO <-> Robotek HBL1650
My software works well.
Only RoboRun do not see the controller at startup.
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 4 months ago #29528602
by Griffin Baker
Replied by Griffin Baker on topic RoboRun with radio transmiter
Roborun+ detects the presence of the controller by sending periodically 0x05 and expecting the reply 0x06 within a few
milliseconds. It can happen that the radio eliminates these invisible
character, or that delay in the transmission disturbs that mechanism.
Try setting the com port manually in the Roborun utility. This is near the top right of browser.
milliseconds. It can happen that the radio eliminates these invisible
character, or that delay in the transmission disturbs that mechanism.
Try setting the com port manually in the Roborun utility. This is near the top right of browser.
Please Log in or Create an account to join the conversation.
9 years 4 months ago - 9 years 4 months ago #29528603
by Critt
Replied by Critt on topic RoboRun with radio transmiter
OK, that's why it does not work ..
To transmit data by radio, I added #13 and #10 to #5 caract, which will increase transmission time. I'll try to find a trick ...
Thanks.
To transmit data by radio, I added #13 and #10 to #5 caract, which will increase transmission time. I'll try to find a trick ...
Thanks.
Please Log in or Create an account to join the conversation.
9 years 4 months ago #29528604
by Critt
Replied by Critt on topic RoboRun with radio transmiter
OK, I found the solution, Roborun happens to see the controller, but other problems appear :-(
During the reading of the configuration, it seems that Roborun sends all requests without waiting for an answer.
But my radio transmitter operates at 9600 baud HF link and 115200 PC link, which slowed the transmission, so that the controller does not have the time to answer all requests.
And if I slowed the transmission on the PC, Roborun crashes with this message:
Unhandled Exception Occured
Une erreur générique s'est produite dans GDI+.
à System.Drawing.Graphics.CheckErrorStatus(Int32 status)
à System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
à LidorSystems.IntegralUI.Lists.ListBase.DrawListText(Graphics g, String text, TextStyle tStyle)
à LidorSystems.IntegralUI.Lists.TreeView._contentPanel_Paint(Object sender, PaintEventArgs e)
à System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
à LidorSystems.IntegralUI.Containers.InnerPanel.OnPaint(PaintEventArgs pe)
à System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
à System.Windows.Forms.Control.WmPaint(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Could we change the baudrate of Robotek?
During the reading of the configuration, it seems that Roborun sends all requests without waiting for an answer.
But my radio transmitter operates at 9600 baud HF link and 115200 PC link, which slowed the transmission, so that the controller does not have the time to answer all requests.
And if I slowed the transmission on the PC, Roborun crashes with this message:
Unhandled Exception Occured
Une erreur générique s'est produite dans GDI+.
à System.Drawing.Graphics.CheckErrorStatus(Int32 status)
à System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
à LidorSystems.IntegralUI.Lists.ListBase.DrawListText(Graphics g, String text, TextStyle tStyle)
à LidorSystems.IntegralUI.Lists.TreeView._contentPanel_Paint(Object sender, PaintEventArgs e)
à System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
à LidorSystems.IntegralUI.Containers.InnerPanel.OnPaint(PaintEventArgs pe)
à System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
à System.Windows.Forms.Control.WmPaint(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Could we change the baudrate of Robotek?
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.095 seconds