Open yuanhaorannnnnn opened 2 years ago
Hi,
We used the lincoln.py
file along with the lincoln configs to run Pylot on a Lincoln MKZ autonomous vehicle. We also provide drivers for the Linocln MKZ vehicle in pylot/pylot/drivers
(for example, grasshopper3_driver_operator.py
interacts with the camera).
Hi,
We used the
lincoln.py
file along with the lincoln configs to run Pylot on a Lincoln MKZ autonomous vehicle. We also provide drivers for the Linocln MKZ vehicle inpylot/pylot/drivers
(for example,grasshopper3_driver_operator.py
interacts with the camera).
Thanks very much for your reply!
Hi,
We used the
lincoln.py
file along with the lincoln configs to run Pylot on a Lincoln MKZ autonomous vehicle. We also provide drivers for the Linocln MKZ vehicle inpylot/pylot/drivers
(for example,grasshopper3_driver_operator.py
interacts with the camera).
Sorry for re-opening this issue. I have one more question, in the lincoln.py, we have to import rospy
, does it mean we have to install all the ROS package and python bindings? Cause I didn't find relevent packages inrequirements.txt
Thanks
Yes, the Lincoln setup relied on a full ROS installation for the drivers to interact with the sensors.
Yes, the Lincoln setup relied on a full ROS installation for the drivers to interact with the sensors.
Thanks for your explanation, and now I have two small doubts.
Thanks for your time and further help.
Sorry for re-opening this issue because I am stuck by a problem with lincoln implementation. Now I can get lincoln.py script running with a real usb-camera and a hd-map data input. I'm sure you guys are very familiar with the code, so I just put my problem straight forward. At the end of the lincoln pipeline, there is a operator named DriveByWireOperator, I just found this operator is successfullly connected but not running acutally, I've double-checked the dataflow connection and confirmed the input of DriveByWireOperator: control_stream has sent the control message in the operator PIDControlOperator. Any insight and comment? Thanks for this project and team again!
Hi @yuanhaorannnnnn!
Just for further clarification, could you let us know where exactly the DriveByWireOperator
fails in your setup? Does it fail to initialize, or does it not seem to be receiving messages in the loop? A few simple tests to check this would be:
rostopic list
to see if the topics listed here by the DriveByWireOperator
are actually initialized?rostopic echo /vehicle/steering_cmd
to see if the commands are actually sent and if the issue is with your CAN bus' subscriber instead.Hi @yuanhaorannnnnn!
Just for further clarification, could you let us know where exactly the
DriveByWireOperator
fails in your setup? Does it fail to initialize, or does it not seem to be receiving messages in the loop? A few simple tests to check this would be:
- Do a
rostopic list
to see if the topics listed here by theDriveByWireOperator
are actually initialized?- Check if the debug statement inserted here is observed in your logs.
- You can also
rostopic echo /vehicle/steering_cmd
to see if the commands are actually sent and if the issue is with your CAN bus' subscriber instead.
Hi @sukritkalra By inserting some debug statements in the DriveByWireOperator, I'm sure __ init __ and connect function is runnnig well while run function is not. For your advices, here are some feedbacks
From my ponit, the ros setup is ok so I guess there is some issues with ERDOS connection, but I'm not sure. Thanks for your further help!
Looks like the run
method is executing fine since the topics seem to be actually created, and it seems to be publishing data on /vehicle/steering_cmd
too since rostopic echo
actually shows the data.
However, these seem to be the default values which means that no control_message
was probably received from the PID Controller. Could you please attach the relevant log file so I can look at what's happening in the execution?
Looks like the
run
method is executing fine since the topics seem to be actually created, and it seems to be publishing data on/vehicle/steering_cmd
too sincerostopic echo
actually shows the data.However, these seem to be the default values which means that no
control_message
was probably received from the PID Controller. Could you please attach the relevant log file so I can look at what's happening in the execution?
Thanks for your reply @sukritkalra ,here are my debug statement code at the PID Controller, I just set value manually for convenience.
and you can find a attach of log file. Many thanks.
lincoln.log
Hello community, According to the introduction, pylot is suitable for Carla and real-world, so I wonder how to run pylot app without Carla simulator. For example, I get all the inputs from the various sensors and then put them into models to get some detections results, can anyone herer tell me where I can find some code example for this? Thanks!