-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bcbca89
Showing
45 changed files
with
7,077 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# OSX / *nix default autosave extension | ||
*.m~ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
clc; clear all; close all; | ||
|
||
addpath('..'); | ||
meow_startup; | ||
|
||
rbt1 = createRobot('diff', 'cuboid', 'y'); | ||
rbt1.name = 'rbt1'; | ||
|
||
wp = [0 2 6;... | ||
0 0 6]; | ||
rd1 = createRoad(wp); | ||
% drawRoad(rd1); | ||
|
||
view(3); | ||
for i=1:100 | ||
rbt1.wheels(1).rotAngle = deg2rad(i); | ||
rbt1.wheels(2).rotAngle = deg2rad(i); | ||
hdl = drawRobot(rbt1); | ||
makeGif(getframe(gcf), 'robot_diff'); | ||
pause(0.01); | ||
delete(hdl.group); | ||
end | ||
|
||
drawRobot(rbt1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%% project root | ||
basedir = fileparts(which('meow_startup.m')); | ||
|
||
%% add lib | ||
addpath(fullfile(basedir, 'utils')); | ||
addpath(fullfile(basedir, 'third/RoboticsToolbox')); | ||
addpath(fullfile(basedir, 'visualization')); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Meow | ||
A Matlab Simulation Repo, now focus on robot visualization and Navigation planning. | ||
|
||
## Contents | ||
|
||
```sh | ||
. | ||
├── meow_startup.m # load lib path | ||
├── doc # demo picture | ||
├── examples # some demo and feature test | ||
├── third # third lib | ||
├── utils # create common object | ||
└── visualization # draw object on current figure | ||
``` | ||
|
||
## Demo | ||
- Differential wheeled robot | ||
|
||
<p align="center"> | ||
<img width="200" src="doc/robot_diff.gif"> | ||
</p> | ||
|
||
- robot on the road | ||
|
||
<p align="center"> | ||
<img width="380" src="doc/robot_diff_demo.png"> | ||
</p> | ||
|
||
## Refs | ||
- https://github.com/star2dust/Robotics-Toolbox |
Oops, something went wrong.