This repository was archived by the owner on Jun 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,10 +52,16 @@ int main(int argc, char** argv) {
5252 ros::NodeHandle node;
5353 FusionAhrsInitialise (&ahrs);
5454 std::this_thread::sleep_for (std::chrono::milliseconds (5000 ));
55- auto udp_manager = std::make_shared<UdpManager>(" 192.168.1.188" , 8888 );
55+ /*
56+ 本机IP地址应该在192.168.1.X网段下。
57+ 192.168.1.168是同步板的IP地址
58+ The host IP address should be in the 192.168.1.X network segment.
59+ 192.168.1.168 is the IP address of the synchronization board.
60+ */
61+ auto udp_manager = std::make_shared<UdpManager>(" 192.168.1.168" , 8888 );
5662 udp_manager->Start ();
5763
58- ros::Publisher imu_pub = node.advertise <sensor_msgs::Imu>(" /imu " , 1000 );
64+ ros::Publisher imu_pub = node.advertise <sensor_msgs::Imu>(" /imu_syn_board " , 1000 );
5965 CamManger::GetInstance ().Initialization ();
6066 CamManger::GetInstance ().Start ();
6167 std::this_thread::sleep_for (std::chrono::milliseconds (5000 ));
Original file line number Diff line number Diff line change @@ -27,7 +27,13 @@ int main() {
2727 zmq::context_t ctx (10 );
2828 zmq::socket_t zmq_publisher (ctx, ZMQ_PUB);
2929 zmq_publisher.bind (" tcp://127.0.0.1:5555" );
30- auto udp_manager = std::make_shared<UdpManager>(" 192.168.192.168" , 8888 );
30+ /*
31+ 本机IP地址应该在192.168.1.X网段下。
32+ 192.168.1.168是同步板的IP地址
33+ The host IP address should be in the 192.168.1.X network segment.
34+ 192.168.1.168 is the IP address of the synchronization board.
35+ */
36+ auto udp_manager = std::make_shared<UdpManager>(" 192.168.1.168" , 8888 );
3137 udp_manager->Start ();
3238 CamManger::GetInstance ().Initialization ();
3339 CamManger::GetInstance ().Start ();
You can’t perform that action at this time.
0 commit comments