Hi all,
I would like to create a Prolog program that would send commands to the NXT robot via Bluetooth. This is similar to what has been done with Legolog but I want to do it using Bluetooth and NXC. Prolog does not have any support for Bluetooth to NXT so I would have to have the NXC programs interpret the commands coming from Prolog and then send them to the brick. Does anyone have any ideas?
Thanks gang,
Prolog to NXT via Bluetooth
-
- Posts: 224
- Joined: 30 Oct 2010, 04:10
- Location: 127.0.0.1
- Contact:
Re: Prolog to NXT via Bluetooth
The problem is that NXC programs run on the brick, and so cannot receive input from a Prolog program (or any other program running on the PC)
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Re: Prolog to NXT via Bluetooth
I suppose it depends on what roboteer meant by 'commands'.timpattinson wrote:The problem is that NXC programs run on the brick, and so cannot receive input from a Prolog program (or any other program running on the PC)
If commands used were Direct Commands (which is basically a message passing protocol), then it is possible to interface the Prolog program to NXC.
There is a mailbox mechanism for sending and receiving messages via USB/Bluetooth.
Who is online
Users browsing this forum: Semrush [Bot] and 2 guests