euslisp tutorial

Web Name: euslisp tutorial

WebSite: http://euslisp-tutorial.readthedocs.io

ID:139183

Keywords:

euslisp,tutorial,

Description:

EusLispは,ロボットプログラミングのための様々な機能を持ったLispライク処理系です.このチュートリアルは,他の言語ではある程度経験があるが,EusLispについては全くの初心者に向けて記述しています.言語仕様や一歩進んだ使い方について,より詳しく知りたい時は,本家のドキュメントを参照してください.ロボット工学に関する知識はロボット工学の教科書を参照してください.EusLispの特徴ロボットプログラミングに特化した開発環境です.その根底には充実した三次元幾何ライブラリがあります.OpenHRP,ROSとのブリッジを持ち,それらに対応した多数のロボットが動かせます.InstallROSがインストールされていることが前提となります.ROS/Installationを参考にインストールしてください.また,wstool,catkin-toolsもあわせてインストールすると便利です.sudo apt-get install python-wstool python-catkin-toolsインストール終了後,catkinのワークスペースを作ってください.例えば以下のようにします.mkdir ~/catkin_wscd ~/catkin_wswstool init srccatkin initcatkin buildsource ~/catkin_ws/devel/setup.bashROSをインストールしてあり,手動でインストールする場合ros- ROS_DISTRO -roseusというパッケージが提供されています.indigoの場合,以下のようにインストールできます.sudo apt-get install ros-indigo-roseusまた,本チュートリアルで紹介するロボットモデルを利用するためには,rtmros_commonのインストールを行なってください.sudo apt-get install ros-indigo-hrpsys-ros-bridge ros-indigo-euscollada ros-indigo-pr2eusおよび,catkinのワークスペースにrtmros_tutorialsをダウンロードしてください.cd catkin_ws /srcwstool set rtm-ros-robotics/rtmros_tutorials https://github.com/start-jsk/rtmros_tutorials.git --gitwstool update rtm-ros-robotics/rtmros_tutorialscd rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorialscatkin btインストーラを利用して最初からインストールする場合jsk_commonを利用することで,ros, hrpsys, euslispを含む様々なロボットプログラミングツールをインストールできます.Basic Usageインタプリタ起動euslispはインタプリタを用いて動作させることが基本です. rosをインストールした環境であれば,通常はroseusを使いましょう. 最低限の機能を起動eusglこれらを解決するため,emacs shellの利用を推奨しています.emacsを起動し,M-x shellとすると,emacs shellが利用できます.emacs shellの上では,M-pで履歴をたどれるほか,カーソルキーで移動できる,バッファに実行結果をためておけるなど,多数の利点があります.インタプリタの使い方euslispインタプリタは 大小文字の区別なし,一番外側の()はなくても良い という仕様になっています.例えば(+ 1 2)と+ 1 2は同じです.ただし,入れ子になる場合は()を書きましょう.+ (- 3 2) 1また,変数への代入はsetqを使います.(setq a (+ 1 2))前回の実行結果を参照するには*を使いましょう.(+ 1 2)としたあとに,(setq a *)とすると,前回実行結果の3が代入されます.同様に**で前々回,***で前々々回の結果を参照できます.終了方法はexitです.(exit)プログラムの書き方プログラムは拡張子.lのファイルに記述していきます.euslispはインタプリタに読ませるスクリプトとしてこのファイルを解釈します.コンパイルやエントリーポイント(いわゆるmain関数)はなく,ファイルの中身をそのままインタプリタ上でタイプすることと同じです.例えば,test.lというファイルにプログラムを記述した場合,roseus test.lとしてインタプリタごと起動するか,インタプリタを先に起動しておいて,その上で(load test.l )としましょう.

TAGS:euslisp tutorial 

<<< Thank you for your visit >>>

Websites to related :
Web Hosting by InMotion Hosting

  This page belongs to a member of the InMotion Hosting network. If you are visiting this site, please check back soon. If you own this site, your new

NOVUS Plastic Polish

  For your nearest distributor call 1-800-548-6872THE PROFESSIONAL AND EXPERT CHOICE Since NOVUS first introduced NOVUS Plastic Polishes in 1973, the nu

Chemical Engineering College of

  Pharmaceutics Journal Invites Two URI Professors to Serve as Guest Editors for Special Issue - URI chemical engineering professors Samantha Meenach an

Gas and flow (liquid) measuremen

  Process Analyzers for Gas Liquid Samples Providing Measurement Certainty to Industrial Operators Worldwide Find My Analyzer Want to see Galvanic produ

Fann Instrument Company - FANN®

  Fann builds rugged, accurate instruments for testing drilling fluids. Test drilling muds in the lab and in the field. Innovation is the watchword at F

Glee and Pawexpo

  The UK's leading garden and outdoor living trade show Discover The premium pet trade show for pets, people the industry. Discover Tues 14 Sept - 9

Autoshanghai - autoshanghai.auto

  NewsAuto Shanghai takes place in April 2021One of the world's largest auto fairs will open its doors from April 21 to 28, 2021. "New Mobility China",

National Apartment Association |

  Get ready for Apartmentalize 2021!Registration is open for Apartmentalize in Chicago, happening June 16-18, 2021.NAA has released guidance for the ren

Beacon Educator - Online Profe

  Our offices are closed for the holidays and will reopen Jan. 4th, 2021 at 8:30AM EST.Courses and modules will continue as normal. Learners may contact

North Haverhill Fair Celebratin

  About the FairThe North Haverhill Fair features many free events once you have entered the gates. Concerts on Friday and Saturday nights are always cr

ads

Hot Websites