Monthly Archives: July 2013

A way to find a type of operating system running on MATLAB.

Although Mac OS and Linux are based on Unix system, they have different directory path which need to be determined for cross-platform.

There are ways to tell which operating system you are running on in MATLAB.

isunix

This command tell whether you are running on a unix system or not. Both Mac OS and Linux system return is ‘1’. :)

ispc

This command tell whether you are running on a Windows system or not. Both Mac OS and Linux system return is ‘0’ and a Windows system return ‘1’.

computer

This command returns string containing type of computer on which MATLAB is executing. Of course, returns are different for each Mac OS and Linux system.

More useful information can be found by typing

help computer

on MATLAB console.

DARPA, robotics challenge..

Today, DARPA unveiled ATLAS which will be used for robotics challenge and this robot will be send to top 9 teams for development!

More info can be found from

http://spectrum.ieee.org/automaton/robotics/humanoids/darpa-vrc-challenge-results-heres-who-gets-an-atlas-humanoid

 

 

Here is called “CRAB walking”. I don’t have any idea why they developed crawling robot using walking robot, anyway the highlight is the end.

Enjoy!

Funny error/warning settings on “rosmake”

When compiling a ros package, it only shows warnings with the following messages.

make[3]: *** [CMakeFiles/cyphy_pole_vision.dir/src/pole_vision.cpp.o] Error 1
 make[3]: Leaving directory `/home/enddl22/workspace/ros/groovy/sandbox/cyphy_pkgs/cyphy_pole_vision_manual/build'
 make[2]: *** [CMakeFiles/cyphy_pole_vision.dir/all] Error 2
 make[2]: Leaving directory `/home/enddl22/workspace/ros/groovy/sandbox/cyphy_pkgs/cyphy_pole_vision_manual/build'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/home/enddl22/workspace/ros/groovy/sandbox/cyphy_pkgs/cyphy_pole_vision_manual/build'
 -------------------------------------------------------------------------------}
 [ rosmake ] Output from build of package cyphy_pole_vision_manual written to:
 [ rosmake ] /home/enddl22/.ros/rosmake/rosmake_output-20130715-180924/cyphy_pole_vision_manual/build_output.log

Where do errors happen in my code?

By default, rosmake only shows the latest 40 error/warning messages and In my case, there are many warnings on Eigen library which buries error messages.

I should manually open the log message or type “make” instead “rosmake”.

You also can see more information by setting

make VERBOSE=1