background image

 

4

BIOS. The COM module has a choice between several physical communications chan-
nels. On Khepera, the two main communication channels are the RS232, managed by the
SER module, and the local turrets network, managed by the MSG module. The SER
module includes all calls to manage the RS232 hardware. The MSG module includes all
calls to manage the hardware devoted to the communication with the extension turrets
processors. The choice between SER and MSG channels is made by the COM module at
boot, and depends on the turrets presents on the Khepera and their configuration. If there
is an extension turret configured as communication channel, this choice is set as main
communication channel. If no turrets are found, the SER module is used. On the radio
turret, the running mode switch 6 allows selection of the turret as main communication
channel or as simple extension turret (see the Khepera radio turret user manual for more
details).

Figure 3:  Communication channels in the Khepera BIOS structure

If the radio turret is set as main communication channel, all messages of the Ser-

Com protocol are sent and received on the radio link to and from the turret with ID 0
(radio base). In this configuration, the RS232 serial link is not used by the SerCom proto-
col. The radio link takes the role of main communication channel and the radio base sta-
tion is the standard communication partner. The radio base station forwards all radio
messages on its RS232 in transparent mode. All messages that the radio base station
receives on its RS232 port (except the * command) are forwarded to the radio channel.
This means that the radio base station and a radio turret on a Khepera can replace in a
transparent way the RS232 wired connection.

 

4.3

Radio network and turret ID

 

The radio network is composed of a maximum of 31 Khepera equipped with radio

turrets and by one radio base station connected to the host computer, as illustrated in

COM

SerCom
protocol

User

application

SER

MSG

or

main

communication

channel

RS232

hardware

network

hardware

extension

turrets

Содержание Radio Base

Страница 1: ...Lausanne 29 November 1999 K Team S A Khepera RADIO BASE USER MANUAL Version 1 0...

Страница 2: ...e Corp SUN Sparc Station SUN Microsystems Corp LabVIEW National Instruments Corp Khepera K Team NOTICE The contents of this manual are subject to change without notice All efforts have been made to en...

Страница 3: ...o Base Station 2 Overview 2 Introduction to the Khepera communication structure 3 Radio network and turret ID 4 Radio properties and correct data transmission 5 Connections 6 Using LabVIEW 8 Set up of...

Страница 4: ...if you use the software LabVIEW The appendix can be referred to as necessary Chapter 1 gives you a general introduction Chapter 2 describes some important warnings Chapter 3 explains the contents of...

Страница 5: ...se station equipped with an antenna A power supply 4 THE RADIO BASE STATION 4 1 Overview Figure 1 Overview of the turret layout Make an external inspection of the turret Note the location of the follo...

Страница 6: ...e radio data data transfer from a radio turret to the base station TxHF Transmit radio data data transfer from the base station to a radio turret The communication between the radio base and the host...

Страница 7: ...e details Figure 3 Communication channels in the Khepera BIOS structure If the radio turret is set as main communication channel all messages of the Ser Com protocol are sent and received on the radio...

Страница 8: ...a has to be transmitted the state changes and the data is transmitted The state of the radio module is visualized on the RxHF radio receive and on the TxHF radio transmit LEDs The data transmitted on...

Страница 9: ...s configuration allows the communication between the robot and a host compu ter through the radio link On the host computer side the link is made by a RS232 line and the radio base station On the Khep...

Страница 10: ...to get the connection with robot with radio ID 1 Switch the Khepera robot ON batteries or power supply or if it is already connected reset the robot pressing on the reset button Your terminal should d...

Страница 11: ...5 LabVIEW runs on your PC Macintosh or SUN worksta tions and can control the functionality of the Khepera robot using the SerCom serial communication protocol 6 1 Set up of the serial link Set your e...

Страница 12: ...de by the Set_channel VI If you open it the panel illustrated in figure 8 should appear Figure 8 Set_channel panel for selection of the robot you want to communicate with Now select the robot you want...

Страница 13: ...e sliders and their names Possible values are constrained only on the sliders between 20 and 20 so to take care of the mechanics To transmit your order to the robot just click once on the arrow You ca...

Страница 14: ...ication channel to communicate with the Khepera equipped with the radio turret with ID ID_destination The radio turret ID has to be selected on the radio turret switches Every string sent to the RS232...

Страница 15: ...12...

Отзывы: