ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

kk2105's profile - activity

2023-08-11 01:42:07 -0500 received badge  Nice Question (source)
2022-10-12 04:45:55 -0500 marked best answer Communication between docker and host

Hi Guys,

This is with respect to the q313094, I was able to get rid of the /use_sim_time is not set, will not subscribe to simulated time [/clock] topic error by following the steps given in link.

However as mentioned in the answer, I always need to run the subscriber first then start publishing the message. If I start publishing first then subscriber it doesn't work.

Could you please let me know is there a way I can fix this, so that I can subscribe to the message anytime?

Problem description:
I have an application which is running inside the docker (Apollo - autonomous driving platform) which uses ros for message communication, I want to create custom messages in my host system and publish to the apollo platform inside docker. For testing purpose I just published simple message by running rostopic pub -r 10 /test_topic std_msgs/String "hello....". This did not work as I was getting error /use_sim_time is not set, will not subscribe to simulated time [/clock] topic. This was fixed by By using --net=host, ROS_IP=127.0.0.1 and ROS_MASTER_URI=http://localhost:11311 and running the subscriber from docker before the publisher from host I got it working. But this means subscriber must always run before publisher for my scripts to work.

Update 1: @dljubic Please find the details given below:

Outside the docker container:

echo $ROS_MASTER_URI - http://localhost:11311
echo $ROS_HOSTNAME   - empty
echo $ROS_IP         - empty

Inside the docker container:

echo $ROS_MASTER_URI - http://172.17.0.1:11311
echo $ROS_HOSTNAME   - empty
echo $ROS_IP         - 172.17.0.1

Thank you, KK

2022-07-26 03:53:47 -0500 received badge  Nice Question (source)
2022-06-27 23:23:44 -0500 received badge  Good Question (source)
2021-12-12 07:57:50 -0500 received badge  Famous Question (source)
2021-11-10 04:52:35 -0500 received badge  Nice Question (source)
2021-09-10 05:22:51 -0500 marked best answer Autonomous car simulator with ROS bridge

Hi,

I have been working on Autonomous car project and looking for simulator. Could you please suggest me simulators which has inbuilt rosbridge configured. Currently I am using Carla simulator, but it is bit complex. I am looking for a simple and basic one.

Thank you, KK

2021-08-19 03:49:04 -0500 marked best answer Autoware Auto - Transform from nav_base to base_link is unavailable.

Hi,

I am new to Autoware and I have recently started working on the setting up the Autoware.

I have successfully installed the Autoware with ADE using the link here.

I am following the link to configure the LGSVL Simulator.

I have created a test simulation using vehicle Lexus2016RXHybrid (Autoware) and map SingleLaneRoad. As mentioned in the document I have copied the sensor data from here.

I am getting the transformation error when I try to run the below steps,

$ ade enter
ade$ source /opt/AutowareAuto/setup.bash
ade$ ros2 run lgsvl_interface lgsvl_interface_exe --ros-args --params-file /opt/AutowareAuto/share/lgsvl_interface/param/lgsvl.param.yaml

Error details:

[ERROR] [1618066657.298942991] [lgsvl_interface]: Transform from nav_base to base_link is unavailable. Waiting...
Warning: Invalid frame ID "base_link" passed to canTransform argument target_frame - frame does not exist at line 133 in /tmp/binarydeb/ros-foxy-tf2-0.13.9/src/buffer_core.cpp
[ERROR] [1618066658.298681311] [lgsvl_interface]: Transform from nav_base to base_link is unavailable. Waiting...

I would be great help if you could help me to find the fix for this.

Thank you, KK

2021-08-16 11:38:45 -0500 received badge  Notable Question (source)
2021-08-16 11:38:45 -0500 received badge  Famous Question (source)
2021-07-14 21:02:23 -0500 received badge  Good Question (source)
2021-07-14 21:02:21 -0500 marked best answer Command line argument passing in rosrun

Hi All,

I am trying to pass the command line arguments while running

  rosrun <package> <node> <parameter>

So that a particular block of code could be executed based on the parameter.

Below is the approach.

     int main(int argc, char *argv[])
     {  
            std::string param;
            ros::init(argc, argv, "node_name");
            ros::NodeHandle nh("~");
            ROS_INFO("Got parameter : %s", param.c_str());

            if(nh.getParam("blue", param))
            {
                 blue();    //Run program blue
            }
            else if(nh.getParam("green", param))
            {
                green();
            }
            else
            {
                 cout << "Don't run anything !! " << endl;
            }
            return 0;
       }

Also when I try to print the value of param it shows nothing.

Can anybody help me to fix this please.

Thank you, KK

2021-07-08 09:12:01 -0500 commented answer Autoware Auto - Record/Replay a Trajectory in LGSVL

Sorry, I did not notice that. Thanks for the clarification Josh. I will follow the right documents.

2021-07-08 09:11:44 -0500 marked best answer Autoware Auto - Record/Replay a Trajectory in LGSVL

Hi All,

I was trying to use "Record/Replay a Trajectory in LGSVL" from here.

And noticed that the below command does not seem to be working.

ros2 action send_goal /planning/recordtrajectory autoware_auto_msgs/action/RecordTrajectory "{record_path: "/tmp/path"}" --feedback

The passed action type is invalid

To find the right action, I searched in ros2 interface list and updated the command as below.

ros2 action send_goal /planning/recordtrajectory recordreplay_planner_actions/action/RecordTrajectory "{record_path: "/tmp/path"}" --feedback

The updated command seems to be working to record the path.

Similarly for "Reply" I used the below command.

ros2 action send_goal /planning/replaytrajectory recordreplay_planner_actions/action/ReplayTrajectory "{replay_path: "/tmp/path"}" --feedback

Could anybody please check and confirm on the same.

I have tried updating the ade by following the below steps. The version is 4.2.0.

kishor@kishor:~/adehome/AutowareAuto$ ade stop
kishor@kishor:~/adehome/AutowareAuto$ 
kishor@kishor:~/adehome/AutowareAuto$ ade start --update
1.0.0: Pulling from autowarefoundation/autoware.auto/autowareauto/amd64/ade-foxy
Digest: sha256:eac0688314b5c8e846acc769fa18c54de438234a6a863d5d1764433a4c29ac2e
Status: Image is up to date for registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/ade-foxy:1.0.0
registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/ade-foxy:1.0.0
1.0.0: Pulling from autowarefoundation/autoware.auto/autowareauto/amd64/binary-foxy
Digest: sha256:432f5513b0c5608a4d44931234beee7422532dac6595ff98a1911cd8a58aaed3
Status: Image is up to date for registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/binary-foxy:1.0.0
registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/binary-foxy:1.0.0
Starting ade with the following images:
ade-foxy    | 1.0.0 | 1.0.0 | registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/ade-foxy:1.0.0   
binary-foxy | 1.0.0 | 1.0.0 | registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/amd64/binary-foxy:1.0.0
ade_registry.gitlab.com_autowarefoundation_autoware.auto_autowareauto_amd64_binary-foxy_1.0.0
non-network local connections being added to access control list

Current default time zone: 'Asia/Kolkata'
Local time is now:      Fri Jun 25 11:08:47 IST 2021.
Universal Time is now:  Fri Jun 25 05:38:47 UTC 2021.

Adding user kishor to group video
Adding user kishor to group dialout
ADE startup completed.

ADE has been started, enter or run commands using: ade enter

kishor@kishor:~/adehome/AutowareAuto$ ade --version
4.2.0
kishor@kishor:~/adehome/AutowareAuto$

Is 4.2.0 the latest version?

And also I have captured the ros2 interface list for the msgs and actions available in the pre-built version. Actions given below:

Actions:
    autoware_auto_msgs/action/PlanTrajectory
    recordreplay_planner_actions/action/RecordTrajectory
    recordreplay_planner_actions/action/ReplayTrajectory
    tf2_msgs/action/LookupTransform

Thank you

2021-06-28 00:34:04 -0500 received badge  Notable Question (source)
2021-06-25 22:47:31 -0500 commented answer Autoware Auto - Record/Replay a Trajectory in LGSVL

Sorry, I did notice that. Thanks for the clarification Josh. I will follow the right documents.

2021-06-25 13:21:25 -0500 received badge  Popular Question (source)
2021-06-25 00:53:41 -0500 edited question Autoware Auto - Record/Replay a Trajectory in LGSVL

Autoware Auto - Record/Replay a Trajectory in LGSVL Hi All, I was trying to use "Record/Replay a Trajectory in LGSVL" f

2021-06-25 00:44:10 -0500 commented answer Autoware Auto - Record/Replay a Trajectory in LGSVL

Thanks for the answer. Is 4.2.0 the latest ade version? I have also updated my question with more details and steps fol

2021-06-24 11:25:24 -0500 commented answer Running ROS + Gazebo on Raspberry Pi

That's awesome, have you tried ROS2 by any chance?

2021-06-24 00:44:26 -0500 commented question Autoware Auto - Record/Replay a Trajectory in LGSVL

ADE Version is 4.2.0. Yes, I have updated the ade recently. I am following this link to launch Autoware with LGSvl.

2021-06-23 08:38:47 -0500 commented question Autoware Auto - Record/Replay a Trajectory in LGSVL

@Josh, I am using the Autoware pre-built installation. And I am running on ade.

2021-06-14 11:52:38 -0500 asked a question Autoware Auto - Record/Replay a Trajectory in LGSVL

Autoware Auto - Record/Replay a Trajectory in LGSVL Hi All, I was trying to use "Record/Replay a Trajectory in LGSVL" f

2021-06-14 02:41:43 -0500 commented answer Editing Answers on answers.ros.org

Thanks for the answer.

2021-06-13 23:23:46 -0500 commented answer Editing Answers on answers.ros.org

How can we get the option to "Edit" answers or questions?

2021-06-09 22:32:31 -0500 commented question How to install packages on Raspberry Pi 4

Did you setup your sources and keys correctly?

2021-06-09 05:10:20 -0500 received badge  Famous Question (source)
2021-06-08 09:50:55 -0500 commented answer LGSVL quits immediately upon starting

Thanks for the answer. Every time I enter inside the ade, I need to uninstall the vulkan-drivers. Is there a better way

2021-06-08 09:50:42 -0500 commented answer LGSVL quits immediately upon starting

Thanks for the answer. Every time I enter inside the ade, I need to uninstall the vulkan-drivers. Is there a better way

2021-05-23 19:30:24 -0500 commented question Autoware Auto - Transform from nav_base to base_link is unavailable.

You need to run the below command: ros2 run robot_state_publisher robot_state_publisher lexus_rx_450h.urdf Let me know

2021-05-23 19:30:05 -0500 commented question Autoware Auto - Transform from nav_base to base_link is unavailable.

You need to run the below command: ros2 run robot_state_publisher robot_state_publisher lexus_rx_450h.urdf

2021-05-09 16:13:58 -0500 received badge  Famous Question (source)
2021-04-20 22:11:50 -0500 answered a question LGSVL Simulator not working ? I am still not sure and confused to run LGSVL Simulator with ROS Autoware

You might have to remove the mesa-vulkan-drivers. Kindly follow the steps given in the official documentation here.

2021-04-20 22:08:49 -0500 commented answer Autoware Auto - Transform from nav_base to base_link is unavailable.

This helped me to setup the autoware with LGSVL. Thanks for your help.

2021-04-12 04:54:57 -0500 received badge  Notable Question (source)
2021-04-11 21:15:18 -0500 commented answer Autoware Auto - Transform from nav_base to base_link is unavailable.

Thanks for the response, I will try the above steps and let you know if any queries.

2021-04-11 20:43:28 -0500 received badge  Popular Question (source)
2021-04-11 09:21:11 -0500 edited question Autoware Auto - Transform from nav_base to base_link is unavailable.

Autoware Auto - Transform from nav_base to base_link is unavailable. Hi, I am new to Autoware and I have recently start

2021-04-11 09:20:43 -0500 edited question Autoware Auto - Transform from nav_base to base_link is unavailable.

Autoware Auto - Transform from nav_base to base_link is unavailable. Hi, I am new to Autoware and I have recently start

2021-04-11 09:20:09 -0500 edited question Autoware Auto - Transform from nav_base to base_link is unavailable.

Autoware Auto - Transform from nav_base to base_link is unavailable. Hi, I am new to Autoware and I have recently start

2021-04-10 10:25:35 -0500 asked a question Autoware Auto - Transform from nav_base to base_link is unavailable.

Autoware Auto - Transform from nav_base to base_link is unavailable. Hi, I am new to Autoware and I have recently start

2021-04-09 07:13:52 -0500 commented answer Where did ros2 msg go?

I was facing the same error, thanks for the answer. I think this testing section can be updated in svl simulator docume

2021-04-07 23:42:46 -0500 commented answer Autoware - Sharing files between the host system and ADE

Yep, Thank you.

2021-04-07 20:17:16 -0500 marked best answer Autoware - Sharing files between the host system and ADE

Hi All,

I am new to Autoware, and trying to install the Autoware in my system by following the steps given here.

I have a question in section Sharing files between the host system and ADE.
In the given example, first step is to move the file from host (local) system home folder to adehome folder. (Which effectively deletes the folder in the host home folder. And then the Symlink is created.

My questions are,
1. Do we need to remove the file from the host system?
2. How the Symlink is created between the files?

Kindly excuse if my understanding is inaccurate.

Thank you,
KK

2021-04-07 20:15:18 -0500 received badge  Notable Question (source)
2021-04-06 07:24:29 -0500 marked best answer Autoware Auto - Base docker image build

Hello,

I have recently started working on Autoware Auto opensource code. And I am having trouble understanding how the Base docker image is built. As per the given documentation, we directly download the executable from here.

I am interested know which dockerfile is being used to build the base docker image and also the where exactly the build process starts.

Kindly excuse if the question is too basic.

Thank you,
KK