GithubHelp home page GithubHelp logo

Comments (10)

jpsndrs avatar jpsndrs commented on August 25, 2024

Hi tecena,
Did you solve this issue? Have you tried setting the "2D Pose Estimation" but clicking the button in RVIZ then clicking and dragging in the direction you want the ego to go? Also, after setting the "2D Pose Estimation", do the same with "2D Nav Goal". Not sure if this helps but couldn't hurt throwing it out there...

from carla-autoware.

YuqiHuai avatar YuqiHuai commented on August 25, 2024

Screenshot from 2022-06-24 11-57-01
Same Issue here. I can set 2D Pose Estimation, I see point cloud visualization but the center isn't the vehicle showing in RVIZ.
Setting 2D Nav Goal gives me a path, but nothing moves/changes at all.

from carla-autoware.

tecena avatar tecena commented on August 25, 2024

Hi tecena, Did you solve this issue? Have you tried setting the "2D Pose Estimation" but clicking the button in RVIZ then clicking and dragging in the direction you want the ego to go? Also, after setting the "2D Pose Estimation", do the same with "2D Nav Goal". Not sure if this helps but couldn't hurt throwing it out there...

Thank you for you reply
The autoware set-up is in linux machine which does not have any RDP or monitor set-up .I am using autoware only through the terminal. So can you please suggest how do I set the goal position from terminal with commands without clicking on the "2d Pose Estimation" and "2d Nav Goal"

from carla-autoware.

jpsndrs avatar jpsndrs commented on August 25, 2024

Screenshot from 2022-06-24 11-57-01 Same Issue here. I can set 2D Pose Estimation, I see point cloud visualization but the center isn't the vehicle showing in RVIZ. Setting 2D Nav Goal gives me a path, but nothing moves/changes at all.

Hi YuqiHuai,
Whick version of carla-autoware are you running? Are you getting any errors in the terminal that is running carla-autoware?

Hi tecena, Did you solve this issue? Have you tried setting the "2D Pose Estimation" but clicking the button in RVIZ then clicking and dragging in the direction you want the ego to go? Also, after setting the "2D Pose Estimation", do the same with "2D Nav Goal". Not sure if this helps but couldn't hurt throwing it out there...

Thank you for you reply The autoware set-up is in linux machine which does not have any RDP or monitor set-up .I am using autoware only through the terminal. So can you please suggest how do I set the goal position from terminal with commands without clicking on the "2d Pose Estimation" and "2d Nav Goal"

Hi tecena,
You can set the start pose and goal pose via a csv file called EgoCar.csv. In the csv you can set one or multiple goals. The format/header is 'X,Y,Z,A,C,V,name,' and is located here ~/autoware_openplanner_logs/SimulationData. Also, you need to change this line "<arg name='enableRvizInput' value='true' />" in the my_mission_planning.launch file to false.
Browse this file to find out more... ~/autoware.ai/src/autoware/core_planning/op_global_planner/nodes/op_global_planner_core.cpp
I'm in the process of trying to implement this also. I have been getting many errors when I run the roslaunch command in the carla-autoware docker, thus, I'm in the process of updating the carla-autoware docker to which also requires me to update carla-simulator and ros-bridge.

from carla-autoware.

YuqiHuai avatar YuqiHuai commented on August 25, 2024

@ThiagoFelipeSandeiro I am not sure how I can get version information. I just cloned this repo and started.
I was having issue with docker set up so I added a few lines to the Dockerfile

RUN apt-key del 7fa2af80
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64/7fa2af80.pub

I also saw

[pcl::PCDReader::readHeader] No points to read
load failed /home/autoware//autoware-contents/maps/point_cloud_maps/Town01.pcd
load /home/autoware//autoware-contents/maps/point_cloud_maps/Town01.pcd

and a lot of

[ WARN] [1656459901.681647637, 11.934444092]: Necessary topics are not subscribed yet ..

The pcd files are there maybe the doube "/" is causing the problem?

from carla-autoware.

tecena avatar tecena commented on August 25, 2024

Screenshot from 2022-06-24 11-57-01 Same Issue here. I can set 2D Pose Estimation, I see point cloud visualization but the center isn't the vehicle showing in RVIZ. Setting 2D Nav Goal gives me a path, but nothing moves/changes at all.

Hi YuqiHuai, Whick version of carla-autoware are you running? Are you getting any errors in the terminal that is running carla-autoware?

Hi tecena, Did you solve this issue? Have you tried setting the "2D Pose Estimation" but clicking the button in RVIZ then clicking and dragging in the direction you want the ego to go? Also, after setting the "2D Pose Estimation", do the same with "2D Nav Goal". Not sure if this helps but couldn't hurt throwing it out there...

Thank you for you reply The autoware set-up is in linux machine which does not have any RDP or monitor set-up .I am using autoware only through the terminal. So can you please suggest how do I set the goal position from terminal with commands without clicking on the "2d Pose Estimation" and "2d Nav Goal"

Hi tecena, You can set the start pose and goal pose via a csv file called EgoCar.csv. In the csv you can set one or multiple goals. The format/header is 'X,Y,Z,A,C,V,name,' and is located here ~/autoware_openplanner_logs/SimulationData. Also, you need to change this line "<arg name='enableRvizInput' value='true' />" in the my_mission_planning.launch file to false. Browse this file to find out more... ~/autoware.ai/src/autoware/core_planning/op_global_planner/nodes/op_global_planner_core.cpp I'm in the process of trying to implement this also. I have been getting many errors when I run the roslaunch command in the carla-autoware docker, thus, I'm in the process of updating the carla-autoware docker to which also requires me to update carla-simulator and ros-bridge.

@ThiagoFelipeSandeiro

In my_mission_planning.launch file I did change enableRvizInput value to false.

But I am not able to find the EgoCar.csv and the path/folder ~/autoware_openplanner_logs/SimulationData is also not available. Am I missing any steps in execution or any more installations so that I can give goal point through the .csv file and run my Ego along the path.

Thank you

from carla-autoware.

jpsndrs avatar jpsndrs commented on August 25, 2024

Hi @tecena @YuqiHuai,
Okay so here's the update...
I have updated; carla-simulator to version 0.9.11; carla-autoware to version 0.9.11; ros-bridge to version 0.9.11.
I found the autoware-contents is mounted to the docker from the local drive which is unreliable so copy it over the the docker, and then when in the running docker you can create the EgoCar.csv with echo commands. Then when you run the roslaunch command add the spawn-point arg with the same values as the start point in the EgoCaro.csv - note: the different data structure with the two coords - then when RVIZ pops up the ego should start automatically.
I have provided the commands and mod files here https://github.com/ThiagoFelipeSandeiro/carla-autoware-mods.
Hope this helps. It has worked for me.

from carla-autoware.

tecena avatar tecena commented on August 25, 2024

Hi @tecena @YuqiHuai, Okay so here's the update... I have updated; carla-simulator to version 0.9.11; carla-autoware to version 0.9.11; ros-bridge to version 0.9.11. I found the autoware-contents is mounted to the docker from the local drive which is unreliable so copy it over the the docker, and then when in the running docker you can create the EgoCar.csv with echo commands. Then when you run the roslaunch command add the spawn-point arg with the same values as the start point in the EgoCaro.csv - note: the different data structure with the two coords - then when RVIZ pops up the ego should start automatically. I have provided the commands and mod files here https://github.com/ThiagoFelipeSandeiro/carla-autoware-mods. Hope this helps. It has worked for me.

@ThiagoFelipeSandeiro
Thank you for your guidance,
I will work on this and update you.

from carla-autoware.

YuqiHuai avatar YuqiHuai commented on August 25, 2024

@ThiagoFelipeSandeiro Thanks for the information! I got busy with other stuff and will try this out over the weekend!

from carla-autoware.

tecena avatar tecena commented on August 25, 2024

Hi @tecena @YuqiHuai, Okay so here's the update... I have updated; carla-simulator to version 0.9.11; carla-autoware to version 0.9.11; ros-bridge to version 0.9.11. I found the autoware-contents is mounted to the docker from the local drive which is unreliable so copy it over the the docker, and then when in the running docker you can create the EgoCar.csv with echo commands. Then when you run the roslaunch command add the spawn-point arg with the same values as the start point in the EgoCaro.csv - note: the different data structure with the two coords - then when RVIZ pops up the ego should start automatically. I have provided the commands and mod files here https://github.com/ThiagoFelipeSandeiro/carla-autoware-mods. Hope this helps. It has worked for me.

1.Here you mentioned in the note that when the rviz pops up the ego should start automatically. Do we still need rviz even though we specify start and destination points in CSV.I do not need any visualization .
So can I skip running the rviz part by commenting these lines in carla-autoware-agent.launch file

2.I just gave the start and destination points in EgoCar.csv file and completed all the modifications you just mentioned above, after all that when I do the roslaunch for a openscenario file (FollowLeadingVehicle.xosc example) Ego is still not moving yet and the below shown error is popped up.

Error

Can you please suggest what mistake I am doing or any other steps are missed out.

from carla-autoware.

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.