Skip to content

This is sequence of my small works from univercity. It's about how to make robot in ROS from scratch and how to make it do some simple actions. Also it tells about how to implement trust and reputation algorithm via nodes.

License

Notifications You must be signed in to change notification settings

pipopolam-03/First-robot-in-ROS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First-robot-in-ROS

This is sequence of my small works from univercity. It's about how to make robot in ROS from scratch and how to make it do some simple actions. Also it tells about how to implement trust and reputation algorithm via nodes.

First steps

The first thing that I've done was a simple robot model with four wheels (you can do it using primary shaoes like cilinders and rectangle) and added joints between parts of robot to make it able to move. To make it look more friendly, I added some textures. image image image

Teleop twist keyboard

After making the model I built some barriers for robot and installed "Teleop twist keyboard" package to make robot move via keys. My model wasn't able to move because I made it in sdf format, but this package suit to urdf models, so I had to found someone's urdf robot. image image Готово-overpass2

Using python sctipts

I added package for scripts in project and wrote the first one to make robot move to given coordinates. image image

After this I used lidar from this snatched model and made some big fences. My goal was made robot feel these walls and bypass them. So, I started use lidar readings. The point of my algorithm is: check barrier, do 90deg rotation and a few steps, and return. After this check barriers again and do this cycle untill robot leave the barrier zone. After this it can continue move to coordinates. The code of this script is in the file. image Объезд_1

The last thind I did is trust and reputation model. I added one big truck as a barrier and made three robots standing in front of it. Two of them tell the truth about the barrier and one is lying. So, the point is to calculate reputation of every robot to understand which of them you can trust. The scripts (for impostor and for normal robots) isn't too complicated. I transfered information between them via their nodes and compared readings from lidar for each from each. So, this is what i got.

image image

About

This is sequence of my small works from univercity. It's about how to make robot in ROS from scratch and how to make it do some simple actions. Also it tells about how to implement trust and reputation algorithm via nodes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages