Giter VIP home page Giter VIP logo

Comments (11)

kohonda avatar kohonda commented on July 26, 2024

@zrd1234
Hi.
Do you publish the topic /reference_path as type nav_msgs/Path ?

from mpc_tracker_ros.

zrd1234 avatar zrd1234 commented on July 26, 2024

nav_msgs/Path

Yes, I passed in the topic type nav_msgs/Path.
No response when not introduced.
11111
22222

from mpc_tracker_ros.

kohonda avatar kohonda commented on July 26, 2024

@zrd1234
Can you confirm that the MPC node subscribes the reference path?
https://github.com/kohonda/mpc_tracker_ros/blob/main/src/mpc_tracker_core.cpp#L207

from mpc_tracker_ros.

zrd1234 avatar zrd1234 commented on July 26, 2024

@zrd1234 Can you confirm that the MPC node subscribes the reference path? https://github.com/kohonda/mpc_tracker_ros/blob/main/src/mpc_tracker_core.cpp#L207

Hi, I tried to add ROS_INFO to print info, he can occasionally display info.
However, [MPC] Path callback: receive path size = is not displayed.
When I publish the track, it looks like this.
123456

from mpc_tracker_ros.

kohonda avatar kohonda commented on July 26, 2024

@zrd1234
I think the reference path topic is not published or published by the wrong way.
Can you check the publishd topic like:

rostopic echo <topic-name>
rostopic info <topic-name>

If the topic is published, can you check the path using Rviz?

from mpc_tracker_ros.

zrd1234 avatar zrd1234 commented on July 26, 2024

@zrd1234 I think the reference path topic is not published or published by the wrong way. Can you check the publishd topic like:

rostopic echo <topic-name>
rostopic info <topic-name>

If the topic is published, can you check the path using Rviz?

Hello, this is the type of message I printed and can be subscribed to in rviz.
456789

from mpc_tracker_ros.

kohonda avatar kohonda commented on July 26, 2024

@zrd1234
Topic name is '/ego_planner_node/optimal_path', right?
Can you change the topic name in the config.yaml: from 'optimal_path' to 'ego_planner_node/optimal_path'?

from mpc_tracker_ros.

zrd1234 avatar zrd1234 commented on July 26, 2024

@zrd1234 Topic name is '/ego_planner_node/optimal_path', right? Can you change the topic name in the config.yaml: from 'optimal_path' to 'ego_planner_node/optimal_path'?

I have changed it. I did not write it correctly at the beginning, but the content of the configuration file is as follows:
out_twist_topic: twist_cmd
in_refpath_topic: /ego_planner_node/optimal_path
in_odom_topic: /visual_slam/odom
robot_frame_id: base_link
map_frame_id: map

from mpc_tracker_ros.

kohonda avatar kohonda commented on July 26, 2024

@zrd1234
I see.
What about publishing the reference path topic after the MPC node is up and running?

from mpc_tracker_ros.

zrd1234 avatar zrd1234 commented on July 26, 2024

When I run the MPC node first, the terminal prints the following:
77878
When I published the path again, the original problem occurred.
If it is inconvenient to communicate on this, could you please leave a contact information for good communication? thank you

from mpc_tracker_ros.

kohonda avatar kohonda commented on July 26, 2024

@zrd1234
Sorry, I am late replying.
I have no idea to deal with it because I have no way of reproducing it.
This is probably not a problem with this package but with the system.
Thank you.

from mpc_tracker_ros.

Related Issues (4)

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.