Click here to Skip to main content
15,898,035 members
Home / Discussions / C#
   

C#

 
GeneralRe: Robotics in C# HeLP with programming Pin
faysie19-Apr-07 23:10
faysie19-Apr-07 23:10 
GeneralRe: Robotics in C# HeLP with programming Pin
Christian Graus19-Apr-07 23:30
protectorChristian Graus19-Apr-07 23:30 
GeneralRe: Robotics in C# HeLP with programming Pin
faysie19-Apr-07 23:43
faysie19-Apr-07 23:43 
GeneralRe: Robotics in C# HeLP with programming Pin
Christian Graus19-Apr-07 23:50
protectorChristian Graus19-Apr-07 23:50 
GeneralRe: Robotics in C# HeLP with programming Pin
faysie19-Apr-07 23:54
faysie19-Apr-07 23:54 
GeneralRe: Robotics in C# HeLP with programming Pin
Christian Graus20-Apr-07 1:44
protectorChristian Graus20-Apr-07 1:44 
GeneralRe: Robotics in C# HeLP with programming Pin
faysie20-Apr-07 4:35
faysie20-Apr-07 4:35 
AnswerRe: Robotics in C# HeLP with programming Pin
Russell Jones20-Apr-07 2:40
Russell Jones20-Apr-07 2:40 
i did some work using an OOPIC controller which connected to my PC via rs232.

Essentially the code was built in 2 parts. there was a stack of code written in OOPIC language and deployed on the controller board. This took care of things like making sure the servos didn't turn too far and the rates at which they moved when commanded. It also had a list of actions that it should carry out and some messages it could send back to the PC.

A winforms app sat on the desktop and sent messages down the wire to the controller.

The user might select straight on from a list of options in a combobox and select 50% on a slider to determine the speed.

The app then sent a message of 1 128 down the serial cable.

The program on the controller knew that 1 meant left and right motors equal and used the next number to be the speed in this case 128/255 of full power.

I guess that's a pattern of a sort. Keep the hardware logic on the controller at the hardware end and the more abstract concepts(go forward, turn slowly, spin on spot) on the computer.

I think serial things have improved in 2k5, i remember 2003 was a bit of a pain for serial coms.

Russell
GeneralRe: Robotics in C# HeLP with programming Pin
faysie23-Apr-07 4:49
faysie23-Apr-07 4:49 
GeneralRe: Robotics in C# HeLP with programming Pin
Russell Jones23-Apr-07 4:57
Russell Jones23-Apr-07 4:57 
QuestionMyNamespace in C# Pin
manustone19-Apr-07 22:38
manustone19-Apr-07 22:38 
AnswerRe: MyNamespace in C# Pin
Christian Graus19-Apr-07 22:59
protectorChristian Graus19-Apr-07 22:59 
GeneralRe: MyNamespace in C# Pin
Brady Kelly20-Apr-07 0:15
Brady Kelly20-Apr-07 0:15 
AnswerRe: MyNamespace in C# Pin
Guffa20-Apr-07 2:38
Guffa20-Apr-07 2:38 
GeneralRe: MyNamespace in C# Pin
Brady Kelly20-Apr-07 2:45
Brady Kelly20-Apr-07 2:45 
AnswerRe: MyNamespace in C# Pin
Dave Doknjas20-Apr-07 14:04
Dave Doknjas20-Apr-07 14:04 
Questionget data in datagridview Pin
Nekshan19-Apr-07 22:30
Nekshan19-Apr-07 22:30 
AnswerRe: get data in datagridview Pin
virendra patel19-Apr-07 22:44
virendra patel19-Apr-07 22:44 
GeneralRe: get data in datagridview Pin
virendra patel19-Apr-07 22:45
virendra patel19-Apr-07 22:45 
GeneralRe: get data in datagridview Pin
Nekshan19-Apr-07 22:51
Nekshan19-Apr-07 22:51 
GeneralRe: get data in datagridview Pin
Nekshan19-Apr-07 23:00
Nekshan19-Apr-07 23:00 
GeneralRe: get data in datagridview Pin
virendra patel19-Apr-07 23:03
virendra patel19-Apr-07 23:03 
AnswerRe: get data in datagridview Pin
virendra patel19-Apr-07 22:48
virendra patel19-Apr-07 22:48 
AnswerRe: get data in datagridview Pin
Keshav V. Kamat20-Apr-07 0:26
Keshav V. Kamat20-Apr-07 0:26 
AnswerRe: get data in datagridview Pin
Keshav V. Kamat22-Apr-07 23:25
Keshav V. Kamat22-Apr-07 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.