All Projects → betab0t → Vector_ros

betab0t / Vector_ros

Licence: gpl-3.0
ROS package for Anki Vector home robot

Programming Languages

python3
1442 projects

Projects that are alternatives of or similar to Vector ros

Ros Academy For Beginners
中国大学MOOC《机器人操作系统入门》代码示例 ROS tutorial
Stars: ✭ 861 (+1465.45%)
Mutual labels:  robotics, ros, cmake
Ifopt
An Eigen-based, light-weight C++ Interface to Nonlinear Programming Solvers (Ipopt, Snopt)
Stars: ✭ 372 (+576.36%)
Mutual labels:  robotics, ros, cmake
Pepper plymouth ros
A set of launch files and configuration files for Plymouth University's Pepper robot
Stars: ✭ 22 (-60%)
Mutual labels:  robotics, ros, cmake
Ros best practices
Best practices, conventions, and tricks for ROS. Do you want to become a robotics master? Then consider graduating or working at the Robotics Systems Lab at ETH in Zürich!
Stars: ✭ 799 (+1352.73%)
Mutual labels:  robotics, ros
Gibsonenv
Gibson Environments: Real-World Perception for Embodied Agents
Stars: ✭ 666 (+1110.91%)
Mutual labels:  robotics, ros
Ardupilot
ArduPlane, ArduCopter, ArduRover, ArduSub source
Stars: ✭ 6,637 (+11967.27%)
Mutual labels:  robotics, ros
Champ
𓃡 Quadruped Robot based on MIT Cheetah I
Stars: ✭ 526 (+856.36%)
Mutual labels:  robotics, ros
Ros Teensy
🚧 Extension to build code for the teensy boards from catkin
Stars: ✭ 16 (-70.91%)
Mutual labels:  ros, cmake
Fourth robot pkg
4号機(KIT-C4)用リポジトリ
Stars: ✭ 7 (-87.27%)
Mutual labels:  robotics, ros
Champ setup assistant
CHAMP Package Config Generator
Stars: ✭ 24 (-56.36%)
Mutual labels:  robotics, ros
Joctomap
Java/Android wrapper for Octomap: an octree-based mapping library
Stars: ✭ 11 (-80%)
Mutual labels:  robotics, ros
Plankton
Open source simulator for maritime robotics researchers
Stars: ✭ 51 (-7.27%)
Mutual labels:  robotics, ros
Linorobot
Autonomous ground robots (2WD, 4WD, Ackermann Steering, Mecanum Drive)
Stars: ✭ 598 (+987.27%)
Mutual labels:  robotics, ros
Autorally
Software for the AutoRally platform
Stars: ✭ 595 (+981.82%)
Mutual labels:  robotics, ros
Behaviortree.cpp
Behavior Trees Library in C++. Batteries included.
Stars: ✭ 793 (+1341.82%)
Mutual labels:  robotics, ros
Roborts
An open source software stack for Real-Time Strategy research on mobile robots
Stars: ✭ 592 (+976.36%)
Mutual labels:  robotics, ros
Pendulum
ROS, ROS2, real-time, control, pendulum
Stars: ✭ 37 (-32.73%)
Mutual labels:  robotics, ros
Elevation mapping
Robot-centric elevation mapping for rough terrain navigation
Stars: ✭ 520 (+845.45%)
Mutual labels:  robotics, ros
Ros comm
ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
Stars: ✭ 525 (+854.55%)
Mutual labels:  robotics, ros
Quickmcl
QuickMCL - Monte Carlo localisation for ROS
Stars: ✭ 24 (-56.36%)
Mutual labels:  robotics, ros

vector_ros

This repository contains an unofficial ROS package for Anki Vector that I started as a small side project after finishing several online ROS courses. This package is essentially a wrapping of core Vector functions from Vector SDK as ROS topics, services and actions(full list below). In order to showcase the package I wrote a simple red ball tracking node which subscribes to the camera feed coming from Vector, locates the red ball using cv_bridge/OpenCV and publish Twist messages to move the robot accurdenly as you can see in the following video:

Mentions / Publications

General Overview

Vector ROS project is actually divided into three separated packages, which are:

vector_ros

  • Main package, contains message service descriptors and example nodes, such as a red ball tracker.

vector_ros_driver

  • Physical / "real" robot driver node - this node does the actual interface to Vector using Vector Python SDK.
  • Notice this package was developed using Python 3.6 to work with Vector's SDK. 🐍
  • Offers easy deployment using Docker! 🐳

cozmo_simulation

Setup With Physical Robot

You can find the full setup instructions at vector_ros_driver.

Topics

  • /vector/camera (sensor_msgs/Image)

Vector camera feed.

  • /vector/cmd_vel (geometry_msgs/Twist)

Move Vector around.

Services

  • /vector/battery_state

  • /vector/set_head_angle

  • /vector/set_lift_height

  • /vector/anim_list

  • /vector/say_text

Actions

  • /vector/play_animation

Play animation by name.

Examples

View single image from camera

[email protected]:~$ rosrun image_view image_saver image:=/vector/camera
[ INFO] [1550425113.646567813]: Saved image left0000.jpg
[ INFO] [1550425113.752592532]: Saved image left0001.jpg
[ INFO] [1550425113.848999553]: Saved image left0002.jpg
...
(Ctrl+C)
...
[email protected]:~$ eog left0000.jpg

Set head angle

[email protected]:~$ rosservice call /vector/set_head_angle "deg: 45.0"

Say text

[email protected]:~$ rosservice call /vector/say_text "text: 'hello world'"

Play animation

[email protected]:~$ rostopic pub /vector/play_animation/goal vector_ros/PlayAnimationActionGoal "header:
  seq: 0
  stamp:
    secs: 0
    nsecs: 0
  frame_id: ''
goal_id:
  stamp:
    secs: 0
    nsecs: 0
  id: ''
goal:
  anim: 'anim_turn_left_01'"

FAQ

  • Why isn't this XX from Vector SDK supported? Well, I didn't wrap all the functions from the SDK - only the main ones as i see it. Yet, if you found a missing function that you need/would like to see as part of vector_ros, please consider opening a new issue with your proposal.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].