{"id":2035,"date":"2026-07-18T06:45:41","date_gmt":"2026-07-18T13:45:41","guid":{"rendered":"http:\/\/macdaddy4sure.ai\/?p=2035"},"modified":"2026-07-18T06:45:41","modified_gmt":"2026-07-18T13:45:41","slug":"robot-movement-prototyping-movement-cpp","status":"publish","type":"post","link":"http:\/\/macdaddy4sure.ai\/index.php\/2026\/07\/18\/robot-movement-prototyping-movement-cpp\/","title":{"rendered":"Robot Movement + Prototyping (Movement.cpp)"},"content":{"rendered":"\n<p>Unified robot locomotion with <strong>manual primitives<\/strong>, <strong>scripted prototypes<\/strong>, and <strong>RL \/ assist<\/strong> modes. Actuates through <strong>ROS `cmd_vel`<\/strong> when connected; otherwise (or with dry-run) uses an internal unicycle simulator.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Modes<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Mode<\/strong><\/td><td><strong>Behavior<\/strong><\/td><\/tr><tr><td>off<\/td><td>Idle (manual set-twist still allowed when called explicitly)<\/td><\/tr><tr><td>assist<\/td><td>Blend heuristic + RL by movement_assist_blend<\/td><\/tr><tr><td>prototype<\/td><td>Play scripted movement sequences<\/td><\/tr><tr><td>train<\/td><td>Online Q-table + linear DQN updates<\/td><\/tr><tr><td>eval<\/td><td>Greedy policy<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Algorithms<\/h2>\n\n\n\n<p>manual \u00b7 heuristic \u00b7 qtable \u00b7 dqn \u00b7 auto<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Backends<\/h2>\n\n\n\n<p>simulate \u00b7 ros \u00b7 auto (ROS if _ROS::Connected())<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Discrete RL actions (12)<\/h2>\n\n\n\n<p>stop, forward, back, left, right, forward_left, forward_right, slow_forward, reverse_left, reverse_right, spin_ccw, spin_cw<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prototypes<\/h2>\n\n\n\n<p>square \u00b7 circle \u00b7 figure8 \u00b7 spin_scan \u00b7 dock_approach \u00b7 obstacle_probe \u00b7 stop_go \u00b7 zig_zag \u00b7 backup_turn \u00b7 soft_start_stop \u00b7 strafe_box \u00b7 idle<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Commands<\/h2>\n\n\n\n<p><em>[text]<br><\/em>movement help<br>movement status<br>movement mode assist|prototype|train|eval|off<br>movement algorithm heuristic|qtable|dqn|auto|manual<br>movement backend simulate|ros|auto<br>movement dry-run on<br>movement shield on<br>movement assist 0.4<br><br>movement stop<br>movement forward 0.3<br>movement left 0.5<br>movement vel 0.2 0.1<br><br>movement goal 2.0 1.0<br>movement path demo<br>movement path from 0 0 to 9 9<br><br>movement proto list<br>movement proto square<br>movement proto circle 2<br>movement proto status<br>movement proto cancel<br><br>movement tick 20<br>movement train 200<br>movement save<br>movement load<br>movement features<br>movement actions<br>movement explain<br>movement dashboard<\/p>\n\n\n\n<p>Aliases: robot \u2026, move \u2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Safety<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Obstacle stop distance: movement_obstacle_stop_m (uses depth occupancy when available)<\/li>\n\n\n\n<li>Defaults: <strong>dry-run on<\/strong>, shield on \u2014 safe for first runs without a robot<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Checkpoints<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>File: C:\/_AugmentedIntelligence\/movement_logs\/movement_rl_checkpoint.txt<\/li>\n\n\n\n<li>MySQL: rl_agent_net_checkpoints profile movement_&lt;profile> when movement_checkpoint_mysql_enabled=true<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Settings<\/h2>\n\n\n\n<p><em>[text]<br><\/em>movement_enabled<br>movement_dry_run<br>movement_safety_shield<br>movement_default_linear \/ movement_default_angular<br>movement_max_linear \/ movement_max_angular<br>movement_assist_blend<br>movement_obstacle_stop_m<br>movement_checkpoint_mysql_enabled<br>movement_checkpoint_profile<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Integration<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ROS: _ROS::PublishTwist<\/li>\n\n\n\n<li>Path: _Pathfinding::aStar<\/li>\n\n\n\n<li>Depth: _DepthOccupancyEstimator<\/li>\n\n\n\n<li>Portal: included in portal export RL section as movement<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Unified robot locomotion with manual primitives, scripted prototypes, and RL \/ assist modes. Actuates through ROS `cmd_vel` when connected; otherwise (or with dry-run) uses an internal unicycle simulator. Modes Mode Behavior off Idle (manual set-twist still allowed when called explicitly) assist Blend heuristic + RL by movement_assist_blend prototype Play scripted movement sequences train Online Q-table [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2035","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/posts\/2035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/comments?post=2035"}],"version-history":[{"count":1,"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/posts\/2035\/revisions"}],"predecessor-version":[{"id":2036,"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/posts\/2035\/revisions\/2036"}],"wp:attachment":[{"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/media?parent=2035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/categories?post=2035"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/macdaddy4sure.ai\/index.php\/wp-json\/wp\/v2\/tags?post=2035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}