首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > resuelve

resuelve

  • 资源大小:292.02 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Robotics CBC KISS-C Botball

资 源 简 介

Resuelve Resuelve is a software library, written in C, designed to be used with the Chumby Botball Controller (CBC). Resuelve allows a robot to navigate a map laid out in a text file. The map establishes a coordinate system for the robot, and Resuelve is capable of calculating and driving a path between two points on the map while avoiding collisions with obstacles designated on the map. Example file: robot.c ``` #include "resuelve.c" int main () { // structs for course and solver struct ResuelveCourse course; struct ResuelveSolver solver; // load map file into course and solver resuelve (&course, &solver, "map.txt"); // show each step of the path resuelve_set_animate_path (&solver, 1); // calculate a path between start and finish resuelve_calculate_path (&course, &solver); } ``` file: map.txt xxxxxxxxxxxxxxxxxxxxxxx.......x....xxxxx...xx..s.x....x......f..

文 件 列 表

resuelve
doc
src
examples
.svn
.git
README
README~
resuelve_create.c
resuelve.c
resuelve_create.c~
resuelve.c~
COPYING
resuelve_create.h~
.gedit-save-EAW4TU
resuelve.h~
VIP VIP
0.164975s