Tag Archives: ROS

Slerp: Spherical linear interpolation in quaternion space

in my previous post, I explained the simple Lerp method for calculating linear interpolation in the quaternion space. I also mentioned that while normalizing the output could help to get an optimized result, the velocity curve is not constant. To … Continue reading

Posted in Linux, Machine Learning, MATLAB, Optimization, programming, Robotics, ROS, Software, Ubuntu, Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Extract data from ROS bags

If you have ROS-Bags and you want to extract data from it to work later on, you can do this:   for instance:   explanation: The rostopic command uses the echo option to print the output of a topic on … Continue reading

Posted in Linux, programming, Robotics, ROS, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Playing with UWSim in ROS. Part. 2: Commanding the AUV

Check the previous post (part. 1) first. In order to move the AUV along the different axes you need to use the node, ‘setVehiclePosition’ inside the ‘UWSim’ package through topic ‘/dataNavigator’. It needs 6 arguments X Y Z roll pitch … Continue reading

Posted in Linux, Robotics, ROS, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Playing with UWSim in ROS – Part. 1 : Running UWSim

You need to have ROS installed on your ubuntu (here I have ubuntu 12.04, ROS fuerte) Download and Install UWSim using information from this link. Open a Terminal in ubuntu (ctrl+alt+T): and source the workspace first: & source ~/fuerte_workspace/setup.bash for … Continue reading

Posted in Linux, Robotics, ROS, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Add a new dependency to a package in ROS

to add a new dependency to a package you need to open the manifest file and add your dependency. For example we add the ‘rospy’ dependency to a manifest (red): <package> <description brief=”beginner_tutorials”> beginner_tutorials </description> <author>ML</author> <license>BSD</license> <review status=”unreviewed” notes=””/> … Continue reading

Posted in Linux, Robotics, ROS, Software, Ubuntu | Tagged , , , , | Leave a comment

how to solve the error: “no ROS_WORKSPACE set”

it happens when you didn’t source the setup file of ros, then you need just to know the workspace directory, and run this line of command: source ~/fuerte_workspace/setup.sh (my workspace directory is ‘fuerte_workspace’)  

Posted in Linux, Robotics, ROS, Software, Ubuntu | Tagged , , , , | Leave a comment

Briefly ROS – Lesson One

This tutorial is just as a fast and quick reminder. To see details about the commands check this link. 1- run `roscore‘ 2- in a new tab check the existing nodes: `rosnode list‘ 3- for checking the information about the … Continue reading

Posted in Linux, programming, ROS, Software, Ubuntu | Tagged , , , , , , , , , , , , | Leave a comment

Check the Environment Variables in ROS

In order to check the Environment Variables in ROS, open a terminal and enter the following command: $ export | grep ROS To check the variables specifically we can do something like this: check the version of ROS: > rosparam … Continue reading

Posted in Linux, Python, Robotics, ROS, Software, Ubuntu | Tagged , , , , , , , , | Leave a comment