Skip to content

notSoTechnical/ROS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 

Repository files navigation

ROS (Robot Operating System)

For Mac users, VM is the best option for now. Download the software from the following link (The 64 bits Indigo):

https://wiki.epfl.ch/roscontrol/rosinstall
Indigo: https://nootrix.com/downloads/#RosVM

or

https://nootrix.com/diy-tutos/ros-indigo-virtual-machine/

login: viki
password: viki


Another option: https://ubuntu.com/download/desktop

  1. Install Ubuntu version 18.04 to your VM. Make sure to change 10GB to 30GB during setup. You would mostly likely run into space issues. Also, delete large files from your computer if needed. Use software https://www.omnigroup.com/more

  2. Install ROS (Melodic or Kinetic) on Ubuntu 18.04 http://wiki.ros.org/melodic/Installation/Ubuntu




Troubleshooting tips:

dts works when the computer is restarted


ERROR: Unable to communicate with master!

http://wiki.ros.org/rosnode/Troubleshooting

Or
Delete the previous host and replace it with the current host by tying => gedit ~/.ssh/config

Note: Make sure no whitespace
Ex:
Do => echo $ROS_PACKAGE_PATH/home/notsotechnical/catkin_ws/src:/opt/ros/kinetic/share
Don't do => echo
$ROS_PACKAGE_PATH/home/notsotechnical/catkin_ws/src:/opt/ros/kinetic/share

ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?

=> Add sudo in front of every command

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

=>$ sudo apt --fix-broken install

Usage: rosrun [--prefix cmd] [--debug] PACKAGE EXECUTABLE [ARGS] rosrun will locate PACKAGE and try to find an executable named EXECUTABLE in the PACKAGE tree. If it finds it, it will run it with ARGS.

=>$ . ~/catkin_ws/devel/setup.bash

To test publisher & Subscriber, do the following in cd /home/user/catkin_ws/src before running the programs or you would most likely getting errors such as "Command not found", "Package not found":

$ . ~/catkin_ws/devel/setup.bash
$ roscore
$ rosrun packagename publisher.py

=> Control+c to terminate the loop


SD Card Initialization

The whole process takes 3 hours approximately. Wait until only the green light is on in the Respberry Pi.


Make your Duckiebot Move Tips: Be VERY patient

  1. close the Portainer Interface (containers) when it's not moving again or refresh the page;
  2. reconnect with the docker token: https://docs.duckietown.org/DT19/opmanual_duckiebot/out/dt_account.html
  3. Keep entering $ ping yourrobotname.local until it prints time in the terminal;
  4. Turn off the demo and turn it back on in the contanier; run the demo code in the terminal;
  5. Keep pressing/testing/waiting until the command is processed. Be patient and the robot will move eventually!

Camera Calibration

ERROR:dts:Theduckiebot-interface is not running on the duckiebot.

=> Restart the roscore in the container can solve the problem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages