Giter Site home page Giter Site logo

[可能是bug]video2path功能,在枫丹地区,从【露景泉传送锚点】到【冰封组曲】的路线,识别不准确 about genshin_impact_assistant HOT 8 CLOSED

1004452714 avatar 1004452714 commented on August 29, 2024
[可能是bug]video2path功能,在枫丹地区,从【露景泉传送锚点】到【冰封组曲】的路线,识别不准确

from genshin_impact_assistant.

Comments (8)

1004452714 avatar 1004452714 commented on August 29, 2024

用空荧路线生成自定义路线,后半段路程也会乱跑
image
image

空荧地图的线段json
{"curveName":"新的画布","curve_list":[{"lineName":"新的线条","curve_poi":[{"x":-4802.175,"y":3339.70386,"z":0.0},{"x":-4802.04736,"y":3340.08643,"z":0.0},{"x":-4801.66455,"y":3341.234,"z":0.0},{"x":-4801.792,"y":3340.85132,"z":0.0},{"x":-4801.66455,"y":3341.234,"z":0.0},{"x":-4822.44531,"y":3321.91919,"z":0.0},{"x":-4884.788,"y":3263.97485,"z":0.0},{"x":-4864.00732,"y":3283.28955,"z":0.0},{"x":-4884.788,"y":3263.97485,"z":0.0},{"x":-4892.94727,"y":3264.42114,"z":0.0},{"x":-4917.426,"y":3265.75977,"z":0.0},{"x":-4909.2666,"y":3265.31348,"z":0.0},{"x":-4917.426,"y":3265.75977,"z":0.0},{"x":-4950.31836,"y":3298.77979,"z":0.0},{"x":-5048.99561,"y":3397.83936,"z":0.0},{"x":-5016.103,"y":3364.81934,"z":0.0}]}]}

上边json生成的任务

from source.mission.template.mission_just_collect import MissionJustCollect

META={'name': {'zh_CN': '1'}, 'author': '2', 'tags': {'zh_CN': ['采集'], 'en_US': ['Collect']}, 'local_edit_mission': '1', 'description': '3', 'note': '4'}
kyt2m_default_value = {'start_position': [-6403.01, -8285.56], 'end_position': [-6773.24, -8372.76], 'position_list': [{'id': 1, 'motion': 'ANY', 'position': [-6403.01, -8285.56], 'special_key': None}, {'id': 2, 'motion': 'ANY', 'position': [-6402.25, -8287.85], 'special_key': None}, {'id': 3, 'motion': 'ANY', 'position': [-6526.93, -8171.96], 'special_key': None}, {'id': 4, 'motion': 'ANY', 'position': [-6575.89, -8174.64], 'special_key': None}, {'id': 5, 'motion': 'ANY', 'position': [-6773.24, -8372.76], 'special_key': None}], 'break_position': [[-6403.01, -8285.56], [-6402.25, -8287.85], [-6526.93, -8171.96], [-6575.89, -8174.64], [-6773.24, -8372.76]], 'time': '', 'additional_info': {'kyt2m_version': '1.0', 'pickup_points': []}, 'adsorptive_position': [], 'generate_from': 'kyt2m v1.0'}

class MissionMain(MissionJustCollect):
    def __init__(self):
        super().__init__(kyt2m_default_value, "kyt2m_default_name")

if __name__ == '__main__':
    mission = MissionMain()
    mission.start()

from genshin_impact_assistant.

infstellar avatar infstellar commented on August 29, 2024

试试新的那个路径记录功能呢,https://genshinimpactassistant.github.io/GIA-Document/#/zh_CN/dev/record_path
这个视频转路劲没有地图全局匹配,比较费劲,等CVAT做好之后我再优化一下这个功能()

from genshin_impact_assistant.

infstellar avatar infstellar commented on August 29, 2024

乱跑是怎样的
草,枫丹没解锁测不了,我先玩一波O(

from genshin_impact_assistant.

1004452714 avatar 1004452714 commented on August 29, 2024

试试新的那个路径记录功能呢,https://genshinimpactassistant.github.io/GIA-Document/#/zh_CN/dev/record_path 这个视频转路劲没有地图全局匹配,比较费劲,等CVAT做好之后我再优化一下这个功能()

好,我去试试

乱跑是怎样的 草,枫丹没解锁测不了,我先玩一波O(

录制的不同路线,乱跑的方向也不同 黑线是乱跑的路线,甚至有的路线一开始到达传送点 直接左拐爬柱子上了

image

from genshin_impact_assistant.

1004452714 avatar 1004452714 commented on August 29, 2024

试试新的那个路径记录功能呢,https://genshinimpactassistant.github.io/GIA-Document/#/zh_CN/dev/record_path 这个视频转路劲没有地图全局匹配,比较费劲,等CVAT做好之后我再优化一下这个功能()

记录路径跟v2p生成的效果一样,还是会乱跑。

乱跑的视频

from genshin_impact_assistant.

infstellar avatar infstellar commented on August 29, 2024

找到问题了,没有把这片地方添加为城区
把requirements.txt的gimapdev版本改成gimapdev==4.6.3,然后更新一下再试试

from genshin_impact_assistant.

1004452714 avatar 1004452714 commented on August 29, 2024

找到问题了,没有把这片地方添加为城区 把requirements.txt的gimapdev版本改成gimapdev==4.6.3,然后更新一下再试试

走到NPC附近有时不准确了,可能被boss的圆圈影响了?先这样凑合用了。

还有个问题:
https://genshinimpactassistant.github.io/GIA-Document/#/zh_CN/dev/mission?id=mission%e8%af%a6%e7%bb%86%e4%bb%8b%e7%bb%8d
开发文档这里讲从 Mission 类继承。

from source.mission.mission import Mission
class MissionMain(Mission): ...

我尝试了一下发现在同目录下有同名的包和模块时,python优先导入了包,然后报错了
百度搜到了相同的结果,所以感觉可能是个bug?
-https://blog.csdn.net/UZDW_/article/details/131745636
image

from genshin_impact_assistant.

infstellar avatar infstellar commented on August 29, 2024

好像没遇到过,但是mission这个包似乎没有用,可以直接删掉()

from genshin_impact_assistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.