ICode9

精准搜索请尝试: 精确搜索
  • Troubles and Obstacles2022-07-21 09:02:27

    All the adversity I've had in my life, all my troubles and obstacles, have strengthened me. The hardships that I encountered in the past will help me succeed in the future. Dreams are like stars. You may never touch them, but if you follow them, they

  • [Google] LeetCode 1293 Shortest Path in a Grid with Obstacles Elimination 思维+BFS+贪心2022-07-18 04:00:07

    You are given an m x n integer matrix grid where each cell is either \(0\) (empty) or \(1\) (obstacle). You can move up, down, left, or right from and to an empty cell in one step. Return the minimum number of steps to walk from the upper left corner

  • Apollo学习——预测2022-06-11 22:35:02

    前言 本文将对Apollo预测模块进行梳理,了解Apollo中进行预测的具体流程和工作原理 如上述架构图所示,预测处于感知与规划之间,它会对感知到的障碍物信息进行分析,并对障碍物未来一段时间内的行为及轨迹进行预测,并将信息反馈到规划模块,使规划模块能够生成更加合理、安全的轨迹 我会

  • [LeetCode] 1293. Shortest Path in a Grid with Obstacles Elimination 网格中的最短路径2022-04-19 13:03:48

    You are given an m x n integer matrix grid where each cell is either 0 (empty) or 1 (obstacle). You can move up, down, left, or right from and to an empty cell in one step. Return the minimum number of steps to walk from the upper left corner (0

  • 【leetcode】1293 .Shortest Path in a Grid with Obstacles2021-11-19 15:36:22

      You are given an m x n integer matrix grid where each cell is either 0 (empty) or 1 (obstacle). You can move up, down, left, or right from and to an empty cell in one step. Return the minimum number of steps to walk from the upper left corner

  • 【路径规划】基于人工势场求解二维障碍路径规划问题matlab源码2021-10-30 16:36:42

    1 简介  在 1986 年,专家 Oussama Khatib 提出了实时性好、改进空间很大、应用领域也极其广泛的人工势场法去解决机器人避障及路径规划问题,人工势场法的工作原理是:将机器人所在的工作空间虚拟为充满引力势场和斥力势场的空间。目标点与机器人产生的相互作用场为引力势场,障碍物与

  • Python游戏开发,pygame模块,Python实现化学滑雪小游戏2021-07-17 14:30:21

    往期回顾 Python实现“小兔子和Bun”游戏 Python实现八音符小游戏 Python实现拼图小游戏 前言: 本期我们将制作一个简单的滑雪游戏。 废话不多说,让我们愉快地开始吧~ 结果 老规矩还是我们先看看效果图 开发工具 **Python版本:**3.6.4 相关模块: pygame模块; 以及一些Python自带

  • [LeetCode]874. 模拟行走机器人2021-06-05 22:32:53

    机器人在一个无限大小的 XY 网格平面上行走,从点 (0, 0) 处开始出发,面向北方。该机器人可以接收以下三种类型的命令 commands : -2 :向左转 90 度-1 :向右转 90 度1 <= x <= 9 :向前移动 x 个单位长度在网格上有一些格子被视为障碍物 obstacles 。第 i 个障碍物位于网格点  obst

  • leetcode 874 模拟行走机器人2021-01-12 23:01:22

    874. 模拟行走机器人 难度简单120收藏分享切换为英文接收动态反馈 机器人在一个无限大小的网格上行走,从点 (0, 0) 处开始出发,面向北方。该机器人可以接收以下三种类型的命令: -2:向左转 90 度-1:向右转 90 度1 <= x <= 9:向前移动 x 个单位长度 在网格上有一些格子被视为障碍物

  • leetcode874. 模拟行走机器人2020-05-29 11:57:10

    机器人在一个无限大小的网格上行走,从点 (0, 0) 处开始出发,面向北方。该机器人可以接收以下三种类型的命令: -2:向左转 90 度-1:向右转 90 度1 <= x <= 9:向前移动 x 个单位长度在网格上有一些格子被视为障碍物。 第 i 个障碍物位于网格点  (obstacles[i][0], obstacles[i][1])

  • 机器人走路最大距离:妙解2019-12-16 09:02:56

    这题主要学习巧用C++语言,内联函数、结构体排序、C++书写方式 static int fast_streams = []() {      std::ios::sync_with_stdio(false);     std::cin.tie(nullptr);     std::cout.tie(nullptr);     return 0;  }();  struct Int2 { int x,

  • leetcode_1293. Shortest Path in a Grid with Obstacles Elimination_[dp动态规划]2019-12-15 23:01:44

    题目链接 Given a m * n grid, where each cell is either 0 (empty) or 1 (obstacle). In one step, you can move up, down, left or right from and to an empty cell. Return the minimum number of steps to walk from the upper left corner (0, 0) to the lower

  • 【leetcode】LCP 3. Programmable Robot2019-09-29 09:51:18

    题目如下: 力扣团队买了一个可编程机器人,机器人初始位置在原点(0, 0)。小伙伴事先给机器人输入一串指令command,机器人就会无限循环这条指令的步骤进行移动。指令有两种: U: 向y轴正方向移动一格R: 向x轴正方向移动一格。不幸的是,在 xy 平面上还有一些障碍物,他们的坐标用obstacles表

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有