Skip to content

Personal adaptation of the V-REP child script for the Kilobot provided by K-TEAM in order to use the newer Kilolib API in the V-REP simulator.

Notifications You must be signed in to change notification settings

andrei91ro/kilolib_vrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Personal adaptation of the V-REP child script for the Kilobot (and controller) provided by K-TEAM in order to use the newer Kilolib C API in the V-REP simulator.

The following functions are available to the user (similar to those from kilolib, see https://www.kilobotics.com/labs for a step by step introduction):

  • message_rx()
  • message_tx()
  • message_tx_success()
  • setup()
  • loop()
  • get_ambient_light()
  • set_motion()
  • blink() - a bit faulty for the moment due to the simulation of a sleep()function using state variables (inspired from the original k-team implementation)
  • set_motor()
  • set_color()

A default scene containing two Kilobots and one controller is provided. The unique id of each robot can be set through the use of the robotID parameter. In code the unique id is accessible as kilo_uid as in the Kilolib (C), see setup() for details.

Acknowledgments

About

Personal adaptation of the V-REP child script for the Kilobot provided by K-TEAM in order to use the newer Kilolib API in the V-REP simulator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages