Skip to content

Conversation

yasuohayashibara
Copy link
Member

学習時間を短くする処理の追加


<node pkg="timed_roslaunch" type="timed_roslaunch.sh"
args="8 nav_cloning turtlebot3_navigation.launch model:=waffle map_file:=$(find nav_cloning)/maps/$(arg map_file) waypoints_file:=$(find nav_cloning)/maps/$(arg waypoints_file) dist_err:=$(arg dist_err) initial_pose_x:=$(arg initial_pose_x) initial_pose_y:=$(arg initial_pose_y) initial_pose_a:=$(arg initial_pose_a) use_waypoint_nav:=$(arg use_waypoint_nav)"
args="8 nav_cloning turtlebot3_navigation.launch model:=waffle_pi map_file:=$(find nav_cloning)/maps/$(arg map_file) waypoints_file:=$(find nav_cloning)/maps/$(arg waypoints_file) dist_err:=$(arg dist_err) initial_pose_x:=$(arg initial_pose_x) initial_pose_y:=$(arg initial_pose_y) initial_pose_a:=$(arg initial_pose_a) use_waypoint_nav:=$(arg use_waypoint_nav)"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

モデルがwaffleになっていたので,従来どおりwaffle_piに変更

# HYPER PARAM
BATCH_SIZE = 8
MAX_DATA = 10000
MAX_DATA = 100000
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

訓練のために保存するデータ数を増やす

@yasuohayashibara
Copy link
Member Author

あと,学習時などにワーニングが出ていましたが,以下を調整することで出なくなりました.
dwaの処理が重かったようです.
まだ最適化は不十分ですが,訓練結果を検証するときには2倍程度の速度でシミュレーションすることができています.
学習,シミュレーションを含めて3時間程度あれば完了するぐらいまでにはなっています.

https://github.com/open-rdc/turtlebot3/blob/42edeb365ac37c7c254a02c86ad29bd907eee497/turtlebot3_navigation/param/dwa_local_planner_params_waffle_pi.yaml#L26-L31

@yasuohayashibara
Copy link
Member Author

あと,今となればそれほど重要な変更ではないかもしれませんが,目標方向の切り替え時にコースアウトすることが多かったので,次の目標位置に切り替わるまでのタイムラグを減らす処理を以下に入れています.
素早く切り替わったほうが良いと思いますので,そのまま残します.

open-rdc/waypoint_nav@d590440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant