Skip to content

Commit

Permalink
Fix Geodesy/Scipy dependency version issue
Browse files Browse the repository at this point in the history
  • Loading branch information
itskalvik committed Sep 3, 2024
1 parent 2eb2369 commit f0fda08
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ Run the following commands in separate terminals:
```
sim_vehicle.py -v Rover -f rover-skid --model JSON --add-param-file=$HOME/SITL_Models/Gazebo/config/r1_rover.param --console --map -N -l 35.30371178789218,-80.73099267294185,0.,0.
```
Note: Restart sim_vechile.py if you get the following message: ```paramftp: bad count 1294 should be 1284```
Note:
- Restart sim_vechile.py if you get the following message: ```paramftp: bad count```
- Ensure the MAV Console shows that the vehicle has a GPS lock before running the next command
- Ensure the MAV Map shows the vehicle before running the next command

- Launch [SGP-Tools](http://itskalvik.com/sgp-tools) Online IPP method:
```
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>ros_sgp_tools</name>
<version>1.0.0</version>
<version>1.0.1</version>
<description>Companion ROS package for sgptools python library</description>
<maintainer email="kjakkala@uncc.edu">kalvik</maintainer>
<license>Apache-2.0</license>
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sgptools
geopandas
pygeodesy
shapely
shapely
scipy <= 1.13.1
2 changes: 1 addition & 1 deletion scripts/online_ipp.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def update_param(self, X_new, y_new):
trainable_variables=self.param_model.trainable_variables[1:],
optimizer='scipy')

self.get_logger().info(f'SSGP Kernel lengthscales: {self.param_model.kernel.lengthscales.numpy():.8f}')
self.get_logger().info(f'SSGP Kernel lengthscales: {self.param_model.kernel.lengthscales.numpy():.4f}')
self.get_logger().info(f'SSGP Kernel variance: {self.param_model.kernel.variance.numpy():.4f}')


Expand Down

0 comments on commit f0fda08

Please sign in to comment.